Skip to content

Commit

Permalink
drop flake8-commas from ci tests, archived since 2021
Browse files Browse the repository at this point in the history
No longer working on python 3.12 without additional setuptools install.
  • Loading branch information
jmahlik committed Oct 30, 2023
1 parent 181dd90 commit d88e00b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build twine
python -m pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build .
python setup.py sdist bdist_wheel
twine upload dist/*
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
strategy:
matrix:
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ def get_version(rel_path):
'coverage==4.*',
'pytest>=4',
'pytest-cov>=2',

'flake8-builtins',
'flake8-commas',
# Cannot install on python 3.12
'flake8-commas ; python_version < "3.12"',
'flake8-fixme',
'flake8-print',
'flake8-quotes',
Expand Down Expand Up @@ -75,11 +75,12 @@ def get_version(rel_path):

'Programming Language :: Python',
'Programming Language :: Python :: 3',
'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',

'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Quality Assurance',
Expand Down

0 comments on commit d88e00b

Please sign in to comment.