Skip to content

Commit

Permalink
Merge pull request #11 from acostapazo/feature/python-version-compati…
Browse files Browse the repository at this point in the history
…bility

chore(requirements): update requirements to increase Python version c…
  • Loading branch information
acostapazo authored Sep 27, 2022
2 parents cb4d15f + d0daaaa commit 6f042f7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] # TODO: '3.11-dev'
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] # TODO '3.11-dev' waiting for scikit-learn compatibility
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,12 @@ jobs:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11-dev']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] # TODO '3.11-dev' waiting for scikit-learn compatibility
runs-on: ${{matrix.os}}
continue-on-error: true
steps:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install numpy(temporary)
run: pip install numpy
- name: Install pandas(temporary)
run: pip install "pandas<2"
- name: Install scikit-learn(temporary)
run: pip install "scikit-learn<2"
- name: Install package
run: pip install gradgpad
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy<2
pandas<2
seaborn<1
scikit-learn<2; python_version > '3.7'
scikit-learn<2; python_version >= '3.7'
tabulate<1

# Python 3.6 compatibility
Expand Down
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6", # TO BE DEPRECATED
"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",
],
packages=find_packages(exclude=("tests*",)),
include_package_data=True,
Expand Down

0 comments on commit 6f042f7

Please sign in to comment.