Skip to content

Commit

Permalink
Dropped Python 3.7 and lower, included up to Python 3.12 + Added Pyth…
Browse files Browse the repository at this point in the history
…on requirement to setup.py
  • Loading branch information
RobertoRoos committed Jul 25, 2024
1 parent 8086c9f commit cf4485a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]

steps:
- name: Checkout repository and submodules
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39', 'py310']
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
include = '\.pyi?$'
exclude = '''
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def run_tests(self):
author_email="[email protected]",
packages=["pyads", "pyads.testserver"],
package_data={'pyads': ['adslib.so']},
python_requires='>=3.8.0',
requires=[],
install_requires=[],
provides=['pyads'],
Expand All @@ -167,9 +168,11 @@ def run_tests(self):
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'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',
'Topic :: Software Development :: Libraries',
'Operating System :: Microsoft :: Windows',
'Operating System :: Microsoft :: Windows :: Windows 7',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py37, py38, py39, py310
envlist = py38, py39, py310, py311, py312

[testenv]
commands = discover
Expand Down

0 comments on commit cf4485a

Please sign in to comment.