Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.10 and 3.11 #1937

Merged
merged 72 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
ffac856
Add support for Python 3.10 and 3.11
simonzhaoms Jun 6, 2023
ffd8b9e
Correct upper bound version for category_encoders
simonzhaoms Jun 7, 2023
644aa5d
Add tests for Python 3.10 and 3.11
simonzhaoms Jun 7, 2023
9003450
Remove dependencies that others require
simonzhaoms Jun 7, 2023
a157403
Merge in staging
simonzhaoms Jun 9, 2023
793ec87
Update nvidia-ml-py and tensorflow version
simonzhaoms Jun 9, 2023
1556eb4
Install system level dependencies for scipy
simonzhaoms Jun 9, 2023
34aee1d
Merge in staging
simonzhaoms Jun 9, 2023
890a3fe
Support from Python 3.8 to 3.11
simonzhaoms Jun 9, 2023
c7bb846
Remove unused system deps
simonzhaoms Jun 9, 2023
7f2e298
Drop python 3.11 because some packages do not support 3.11
simonzhaoms Jun 9, 2023
09069f7
Install dependencies for scipy in docker image
simonzhaoms Jun 10, 2023
643fed6
Change docker image
simonzhaoms Jun 10, 2023
db4c9c3
Add pip==20.1.1
simonzhaoms Jun 10, 2023
9e05e4f
Correct conda package format
simonzhaoms Jun 10, 2023
e1d6acf
Remove pip downgrade code
simonzhaoms Jun 10, 2023
b71c4ed
Use docker images for ubuntu 22.04
simonzhaoms Jun 11, 2023
3b4a641
Merge in main
SimonYansenZhao Sep 1, 2023
3cb052a
Merge in staging
SimonYansenZhao Sep 2, 2023
d80002e
Replace pandas.util.testing with pandas.testing
SimonYansenZhao Sep 2, 2023
e084412
Remove nonexistent argument check_less_precise of assert_frame_equal()
SimonYansenZhao Sep 2, 2023
a605404
Remove tests for sarplus for Python 3.7
SimonYansenZhao Sep 4, 2023
40361f4
Fixed error: 'DataFrame' object has no attribute 'append'
SimonYansenZhao Sep 4, 2023
9364c9b
Add hypothesis<6.83.1
SimonYansenZhao Sep 4, 2023
be86a29
Use ubuntu-22.04 instead of latest
SimonYansenZhao Sep 4, 2023
0641d95
Update comments
SimonYansenZhao Sep 4, 2023
334ea1a
Merge remote-tracking branch 'origin/simonz-dep-upgrade-20230606' int…
SimonYansenZhao Sep 4, 2023
60e847a
Add python 3.11
SimonYansenZhao Sep 4, 2023
313de47
Add python 3.11
SimonYansenZhao Sep 4, 2023
91be6ae
Add python 3.11
SimonYansenZhao Sep 4, 2023
015ce4a
Add python 3.11
SimonYansenZhao Sep 4, 2023
76901c6
Add python 3.11
SimonYansenZhao Sep 4, 2023
22ac9e2
Add python 3.11
SimonYansenZhao Sep 4, 2023
d0074c5
Merge remote-tracking branch 'origin/simonz-dep-upgrade-20230606' int…
SimonYansenZhao Sep 4, 2023
c3a7030
Remove python 3.11
SimonYansenZhao Sep 4, 2023
3149ae7
Merge in staging
SimonYansenZhao Feb 22, 2024
15fbf90
Pin pip=20.1.1
SimonYansenZhao Feb 22, 2024
a7f8346
Update dep versions
SimonYansenZhao Feb 22, 2024
9f9c815
Fix pandas import
SimonYansenZhao Feb 22, 2024
2fdf590
Set scipy <1.11.0 and sort dependencies alphabetically
SimonYansenZhao Feb 22, 2024
b2fef7a
Fix error caused by changes in scikit-learn
SimonYansenZhao Feb 22, 2024
9a225d5
Replace CollabDataBunch with CollabDataLoaders
SimonYansenZhao Feb 23, 2024
5484d9b
Replace max_lr with lr_max
SimonYansenZhao Feb 23, 2024
6944404
Correct usage of load_learner in fastai
SimonYansenZhao Feb 23, 2024
0e69106
Replace learner.data.train_ds.x.classes.values() with learner.dls.cla…
SimonYansenZhao Feb 23, 2024
22ef9b9
Replace learner.data.train_ds.x.classes.values() with learner.dls.cla…
SimonYansenZhao Feb 23, 2024
a5fea78
Upgrade fastai code
SimonYansenZhao Feb 23, 2024
dccac17
Correct the usage of torch.column_stack()
SimonYansenZhao Feb 23, 2024
d3b0ad7
Correct conversion from tensor to numpy
SimonYansenZhao Feb 24, 2024
d249bfe
Remove duplicate dependencies jinja2 and packaging required other pac…
SimonYansenZhao Feb 24, 2024
547ab66
Try Python 3.11
SimonYansenZhao Feb 24, 2024
ed3b632
Allow Python 3.11 for sarplus
SimonYansenZhao Feb 24, 2024
c8d90f7
Rerun and fix fastai movielens notebook
miguelgfierro Feb 24, 2024
d9ec1cd
Fixed deprecated attribute in fastai
miguelgfierro Feb 24, 2024
d59f7ec
Merge pull request #2068 from recommenders-team/miguel/simon_deps
SimonYansenZhao Feb 25, 2024
fda5265
Fixing breaking changes in fastai
miguelgfierro Mar 4, 2024
ac90e54
Upgrade GitHub Action azure/login
SimonYansenZhao Mar 12, 2024
1d0fe7d
Update fastai usage in utils
SimonYansenZhao Mar 15, 2024
0740b16
change deprecated azureml option (#2069)
loomlike Mar 15, 2024
89cc985
Update SP creation doc
loomlike Mar 15, 2024
55433c5
:memo:
miguelgfierro Mar 16, 2024
730a5e9
Fixing TF to < 2.16
miguelgfierro Mar 18, 2024
657531a
:bug:
miguelgfierro Mar 18, 2024
e99b8d0
model to CUDA as well as data
miguelgfierro Mar 18, 2024
03554de
Set tensorflow <= 2.15.0
SimonYansenZhao Mar 19, 2024
47281c8
Add missing colon
SimonYansenZhao Mar 19, 2024
19bcf1a
Merge branch 'simonz-dep-upgrade-20230606' into miguel/fix_tf
miguelgfierro Mar 19, 2024
b255fae
:memo:
miguelgfierro Mar 19, 2024
85899cf
Reducing DKN batch size to 200
miguelgfierro Mar 19, 2024
d8e8ac3
Move learner.model to cuda if cuda is available
SimonYansenZhao Mar 19, 2024
21492c9
Merge branch 'simonz-dep-upgrade-20230606' into miguel/fix_tf
miguelgfierro Mar 19, 2024
14c5c93
Merge pull request #2071 from recommenders-team/miguel/fix_tf
miguelgfierro Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/azureml-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ runs:
shell: bash
run: pip install --quiet "azureml-core>1,<2" "azure-cli>2,<3"
- name: Log in to Azure
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{inputs.AZUREML_TEST_CREDENTIALS}}
- name: Install wheel package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azureml-cpu-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
strategy:
max-parallel: 50 # Usage limits: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
matrix:
python-version: ['"python=3.8"', '"python=3.9"']
python-version: ['"python=3.8"', '"python=3.9"', '"python=3.10"', '"python=3.11"']
test-group: ${{ fromJSON(needs.get-test-groups.outputs.test_groups) }}
steps:
- name: Check out repository code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azureml-gpu-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
strategy:
max-parallel: 50 # Usage limits: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
matrix:
python-version: ['"python=3.8"', '"python=3.9"']
python-version: ['"python=3.8"', '"python=3.9"', '"python=3.10"', '"python=3.11"']
test-group: ${{ fromJSON(needs.get-test-groups.outputs.test_groups) }}
steps:
- name: Check out repository code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azureml-spark-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
strategy:
max-parallel: 50 # Usage limits: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
matrix:
python-version: ['"python=3.8"', '"python=3.9"']
python-version: ['"python=3.8"', '"python=3.9"', '"python=3.10"', '"python=3.11"']
test-group: ${{ fromJSON(needs.get-test-groups.outputs.test_groups) }}
steps:
- name: Check out repository code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azureml-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
strategy:
max-parallel: 50 # Usage limits: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
matrix:
python-version: ['"python=3.8"', '"python=3.9"']
python-version: ['"python=3.8"', '"python=3.9"', '"python=3.10"', '"python=3.11"']
test-group: ${{ fromJSON(needs.get-test-groups.outputs.test_groups) }}
steps:
- name: Check out repository code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sarplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 2 additions & 1 deletion contrib/sarplus/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,15 @@ def __str__(self):
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Mathematics",
],
setup_requires=["pytest-runner"],
install_requires=DEPENDENCIES,
tests_require=["pytest"],
python_requires=">=3.6,<3.11",
python_requires=">=3.6,<3.12",
packages=["pysarplus"],
package_data={"": ["VERSION"]},
ext_modules=[
Expand Down
Loading
Loading