Skip to content

Commit

Permalink
Drop Python 3.6 and 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
knovichikhin committed Mar 23, 2024
1 parent 486d66b commit 6d5a8d2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10',
'pypy3.6', 'pypy3.7', 'pypy3.8', 'pypy3.9']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12',
'pypy3.9', 'pypy3.10']
steps:
- name: Clone Repository (Latest)
uses: actions/checkout@v3
Expand Down
33 changes: 22 additions & 11 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,29 @@ exclude =

# Things to ignore:
extend-ignore =
C101, # C101 - Coding magic comment not found
C812, # C812 - missing trailing comma. Black figures it out.
C815, # C815 - missing trailing comma in Python 3.5+. Black figures it out.
# C101 - Coding magic comment not found
C101,
# C812 - missing trailing comma. Black figures it out.
C812,
# C815 - missing trailing comma in Python 3.5+. Black figures it out.
C815,
D,
E203, # E203 - Whitespace before ':'. Required by black.
E501, # E501 - Line too long. Black will fold normal source lines.
E731, # E731 - do not assign a lambda expression, use a def
E800, # E800 - Found commented out code. Does not get along with black `fmt: off`
F811, # F811 - redefinition of unused X. Does not understand @overload.
Q000, # Q000 - Remove bad quotes. Black uses double quotes.
S303, # S303 - Use of insecure MD2, MD4, MD5, or SHA1 hash function.
S305, # S305 - Use of insecure cipher mode cryptography.hazmat.primitives.ciphers.modes.ECB.
# E203 - Whitespace before ':'. Required by black.
E203,
# E501 - Line too long. Black will fold normal source lines.
E501,
# E731 - do not assign a lambda expression, use a def
E731,
# E800 - Found commented out code. Does not get along with black `fmt: off`
E800,
# F811 - redefinition of unused X. Does not understand @overload.
F811,
# Q000 - Remove bad quotes. Black uses double quotes.
Q000,
# S303 - Use of insecure MD2, MD4, MD5, or SHA1 hash function.
S303,
# S305 - Use of insecure cipher mode cryptography.hazmat.primitives.ciphers.modes.ECB.
S305,
WPS,
DAR,

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
Expand Down Expand Up @@ -39,6 +39,6 @@
"cryptography >= 2.8",
],
classifiers=classifiers,
python_requires=">=3.6",
python_requires=">=3.8",
keywords="emv arqc arpc tc aac smi smc cvc3 tlv",
)

0 comments on commit 6d5a8d2

Please sign in to comment.