Skip to content

Commit

Permalink
Removed Python 3.8 support (#916)
Browse files Browse the repository at this point in the history
* Removed python3.8 from github actions and setup.py

* Replaced python3.8 kernel with python3.10 in docs examples
  • Loading branch information
RobertSamoilescu authored Dec 11, 2024
1 parent d619173 commit 2425dec
Show file tree
Hide file tree
Showing 75 changed files with 212 additions and 315 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_all_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false # Continue to run other builds despite a failure
matrix:
os: [ ubuntu-latest ]
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
python-version: [ '3.9', '3.10', '3.11' ]
include: # Run windows tests on only one python version
- os: windows-latest
python-version: '3.10' # torch 1.x not available on Windows for Python 3.11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_changed_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
python-version: [ '3.9', '3.10', '3.11' ]
include: # Run windows tests on only one python version
- os: windows-latest
python-version: '3.10' # torch 1.x not available on Windows for Python 3.11
Expand Down
2 changes: 1 addition & 1 deletion doc/source/cd/methods/classifierdrift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
7 changes: 2 additions & 5 deletions doc/source/cd/methods/cvmdrift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "ffba93b5284319fb7a107c8eacae647f441487dcc7e0323a4c0d3feb66ea8c5e"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -121,7 +118,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
7 changes: 2 additions & 5 deletions doc/source/cd/methods/fetdrift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "ffba93b5284319fb7a107c8eacae647f441487dcc7e0323a4c0d3feb66ea8c5e"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -142,7 +139,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion doc/source/cd/methods/learnedkerneldrift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
7 changes: 2 additions & 5 deletions doc/source/cd/methods/onlinecvmdrift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "ffba93b5284319fb7a107c8eacae647f441487dcc7e0323a4c0d3feb66ea8c5e"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -163,7 +160,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
7 changes: 2 additions & 5 deletions doc/source/cd/methods/onlinefetdrift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "ffba93b5284319fb7a107c8eacae647f441487dcc7e0323a4c0d3feb66ea8c5e"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -177,7 +174,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
7 changes: 2 additions & 5 deletions doc/source/cd/methods/onlinelsdddrift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "ffba93b5284319fb7a107c8eacae647f441487dcc7e0323a4c0d3feb66ea8c5e"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -220,7 +217,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
7 changes: 2 additions & 5 deletions doc/source/cd/methods/onlinemmddrift.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "ffba93b5284319fb7a107c8eacae647f441487dcc7e0323a4c0d3feb66ea8c5e"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -227,7 +224,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
10 changes: 5 additions & 5 deletions doc/source/examples/cd_chi2ks_adult.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/source/examples/cd_clf_adult.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
12 changes: 6 additions & 6 deletions doc/source/examples/cd_clf_cifar10.ipynb

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions doc/source/examples/cd_context_20newsgroup.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions doc/source/examples/cd_distillation_cifar10.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -774,7 +774,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
7 changes: 2 additions & 5 deletions doc/source/examples/cd_ks_cifar10.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1273,11 +1273,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "ffba93b5284319fb7a107c8eacae647f441487dcc7e0323a4c0d3feb66ea8c5e"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -1291,7 +1288,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
7 changes: 2 additions & 5 deletions doc/source/examples/cd_mmd_cifar10.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -773,11 +773,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "ffba93b5284319fb7a107c8eacae647f441487dcc7e0323a4c0d3feb66ea8c5e"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -791,7 +788,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions doc/source/examples/cd_model_unc_cifar10_wine.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2260,7 +2260,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -2274,7 +2274,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
14 changes: 7 additions & 7 deletions doc/source/examples/cd_mol.ipynb

Large diffs are not rendered by default.

20 changes: 6 additions & 14 deletions doc/source/examples/cd_online_camelyon.ipynb

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions doc/source/examples/cd_online_wine.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -860,11 +860,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "ffba93b5284319fb7a107c8eacae647f441487dcc7e0323a4c0d3feb66ea8c5e"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -878,7 +875,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
},
"metadata": {
"interpreter": {
Expand Down
11 changes: 4 additions & 7 deletions doc/source/examples/cd_spot_the_diff_mnist_wine.ipynb

Large diffs are not rendered by default.

23 changes: 5 additions & 18 deletions doc/source/examples/cd_supervised_penguins.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions doc/source/examples/cd_text_amazon.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "venv",
"language": "python",
"name": "python3"
},
Expand All @@ -579,7 +579,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.15"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions doc/source/examples/cd_text_imdb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@
"provenance": []
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -1695,7 +1695,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions doc/source/examples/od_ae_cifar10.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -719,7 +719,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions doc/source/examples/od_aegmm_kddcup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -838,7 +838,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions doc/source/examples/od_llr_genome.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -579,7 +579,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions doc/source/examples/od_llr_mnist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -835,7 +835,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 2425dec

Please sign in to comment.