Skip to content

Commit

Permalink
Bumped version to 1.3.3.post2
Browse files Browse the repository at this point in the history
Updated vendor constant enumerations at Thu Nov 14 05:05:29 UTC 2024. The following files
have been changed: pcapkit/const/ftp/return_code.py pcapkit/const/http/status_code.py pcapkit/const/mh/status_code.py
  • Loading branch information
github-actions[bot] committed Nov 14, 2024
1 parent 856b0b6 commit bae40cd
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion conda/build
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1
0
2 changes: 1 addition & 1 deletion pcapkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@
]

#: version number
__version__ = '1.3.3.post1'
__version__ = '1.3.3.post2'
4 changes: 2 additions & 2 deletions pcapkit/const/ftp/return_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ def __str__(self) -> 'str':
#: command if the service knows it must shut down.
CODE_421: 'ReturnCode' = 421, 'Service available, closing control connection.'

#: open data connection.
CODE_425: 'ReturnCode' = 425, 'open data connection.'
#: Can't open data connection.
CODE_425: 'ReturnCode' = 425, "Can't open data connection."

#: Connection closed; transfer aborted.
CODE_426: 'ReturnCode' = 426, 'Connection closed; transfer aborted.'
Expand Down
6 changes: 5 additions & 1 deletion pcapkit/const/http/status_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ def __str__(self) -> 'str':
#: Early Hints [:rfc:`8297`]
CODE_103 = 103, 'Early Hints'

#: Upload Resumption Supported (TEMPORARY - registered 2024-11-13, expires
#: 2025-11-13) [draft-ietf-httpbis-resumable-upload-05]
CODE_104 = 104, 'Upload Resumption Supported'

#: OK [:rfc:`9110#section-15.3.1`]
CODE_200 = 200, 'OK'

Expand Down Expand Up @@ -267,7 +271,7 @@ def _missing_(cls, value: 'int') -> 'StatusCode':
"""
if not (isinstance(value, int) and 100 <= value <= 599):
raise ValueError('%r is not a valid %s' % (value, cls.__name__))
if 104 <= value <= 199:
if 105 <= value <= 199:
#: Unassigned
return extend_enum(cls, 'CODE_%d' % value, value, 'Unassigned')
if 209 <= value <= 225:
Expand Down
2 changes: 1 addition & 1 deletion pcapkit/const/mh/status_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class StatusCode(IntEnum):
#: MIPV6-MESG-ID-REQD [:rfc:`4285`]
MIPV6_MESG_ID_REQD = 145

#: MIPV6-AUTH-FAIL [:rfc:`4285`]
#: MIPV6-AUTH-FAIL [:rfc:`4285`][RFC Errata 3463]
MIPV6_AUTH_FAIL = 146

#: Permanent home keygen token unavailable [:rfc:`4866`]
Expand Down
2 changes: 1 addition & 1 deletion pcapkit/protocols/internet/internet.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
from pcapkit.const.reg.transtype import TransType as Enum_TransType
from pcapkit.corekit.module import ModuleDescriptor
from pcapkit.corekit.protochain import ProtoChain
from pcapkit.protocols.protocol import ProtocolBase as Protocol
from pcapkit.protocols.protocol import _PT, _ST
from pcapkit.protocols.protocol import ProtocolBase as Protocol
from pcapkit.utilities.decorators import beholder
from pcapkit.utilities.exceptions import RegistryError
from pcapkit.utilities.warnings import RegistryWarning, warn
Expand Down
7 changes: 3 additions & 4 deletions pcapkit/protocols/internet/ipv6_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,20 @@
"""
import collections
import ipaddress
import math
import os.path as os_path
from typing import TYPE_CHECKING, cast, overload

import math

from pcapkit.const.ipv6.routing import Routing as Enum_Routing
from pcapkit.const.reg.transtype import TransType as Enum_TransType
from pcapkit.protocols.data.internet.ipv6_route import IPv6_Route as Data_IPv6_Route
from pcapkit.protocols.data.internet.ipv6_route import RPL as Data_RPL
from pcapkit.protocols.data.internet.ipv6_route import IPv6_Route as Data_IPv6_Route
from pcapkit.protocols.data.internet.ipv6_route import SourceRoute as Data_SourceRoute
from pcapkit.protocols.data.internet.ipv6_route import Type2 as Data_Type2
from pcapkit.protocols.data.internet.ipv6_route import UnknownType as Data_UnknownType
from pcapkit.protocols.internet.internet import Internet
from pcapkit.protocols.schema.internet.ipv6_route import IPv6_Route as Schema_IPv6_Route
from pcapkit.protocols.schema.internet.ipv6_route import RPL as Schema_RPL
from pcapkit.protocols.schema.internet.ipv6_route import IPv6_Route as Schema_IPv6_Route
from pcapkit.protocols.schema.internet.ipv6_route import SourceRoute as Schema_SourceRoute
from pcapkit.protocols.schema.internet.ipv6_route import Type2 as Schema_Type2
from pcapkit.protocols.schema.internet.ipv6_route import UnknownType as Schema_UnknownType
Expand Down

0 comments on commit bae40cd

Please sign in to comment.