Skip to content

Commit

Permalink
test: do not run tests on python 3.7 and 3.8
Browse files Browse the repository at this point in the history
Do not mark 3.7 and 3.8 as explicitly supported in the classifiers.

The package is still installable on python 3.7 plus but may experience dependency issues
as current versions of some dependencies are not functional on these versions
  • Loading branch information
jmahlik committed Oct 15, 2024
1 parent c36e8eb commit 57cb18c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:

python-version: ['3.7', '3.8', '3.9', '3.10', "3.11", "3.12"]
python-version: ['3.9', '3.10', "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-12]

steps:
Expand All @@ -30,10 +30,9 @@ jobs:
python -m pip install --upgrade pip
pip install -r test_requirements.txt
pip install -r requirements.txt
pip install pympler tdigest
- name: Install package
run: |
pip install -e .[distributed,test]
pip install -e .[distributed,test,ecos]
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
11 changes: 8 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ def run(self):
# extra requirements
extras_require = {
'distributed': ['pympler', 'tdigest'],
'test': ['coverage', 'flake8', 'pytest', 'pyarrow'],
'test': [
'coverage',
'flake8',
'pytest',
'pyarrow',
'pympler',
'tdigest',
],
# For ecos support: https://github.com/embotech/ecos
'ecos': ['ecos']
}
Expand Down Expand Up @@ -82,8 +89,6 @@ def run(self):
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'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',
Expand Down
4 changes: 3 additions & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
coverage
flake8
pytest
pyarrow
pyarrow
pympler
tdigest

0 comments on commit 57cb18c

Please sign in to comment.