Skip to content

Commit c2dc33d

Browse files
alefisicotiborsimko
andcommitted
build(python): upgrade to Snakemake 9.16.3 (reanahub#514)
Snakemake 9.16.3 requires snakemake-executor-plugin-kubernetes>=0.1.5 on Python 3.11+, which in turn needs kubernetes>=27.2.0. Since kubernetes 27+ requires oauthlib>=3.2.2 which is incompatible with reana-server invenio packages (flask-oauthlib needs oauthlib<3.0.0), the executor plugin is split into a separate "snakemake-kubernetes" extra. The "kubernetes" extra upper pin is kept at <27.0.0. Co-authored-by: Tibor Šimko <tibor.simko@cern.ch>
1 parent e435058 commit c2dc33d

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The list of contributors in alphabetical order:
55
- [Adelina Lintuluoto](https://orcid.org/0000-0002-0726-1452)
66
- [Agisilaos Kounelis](https://orcid.org/0000-0001-9312-3189)
77
- [Alastair Lyall](https://orcid.org/0009-0000-4955-8935)
8+
- [Alejandro Gomez Espinosa](https://orcid.org/0000-0002-9443-7769)
89
- [Alp Tuna](https://orcid.org/0009-0001-1915-3993)
910
- [Audrius Mecionis](https://orcid.org/0000-0002-3759-1663)
1011
- [Bruno Rosendo](https://orcid.org/0000-0002-0923-3148)

setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"pytest-reana>=0.95.0a5,<0.96.0",
2929
],
3030
"kubernetes": [
31-
"kubernetes>=22.0.0,<23.0.0",
31+
"kubernetes>=22.0.0,<27.0.0", # upper pin due to oauthlib 3.x incompatibility with reana-server invenio packages
3232
"google-auth<2.46.0; python_version<'3.9'",
3333
],
3434
"yadage": [
@@ -42,10 +42,13 @@
4242
"snakemake": [
4343
"snakemake==7.32.4 ; python_version<'3.11'",
4444
"pulp>=2.7.0,<2.8.0 ; python_version<'3.11'",
45-
"snakemake==8.27.1 ; python_version>='3.11'",
45+
"snakemake==9.16.3 ; python_version>='3.11'",
46+
],
47+
"snakemake-kubernetes": [
48+
"snakemake-executor-plugin-kubernetes>=0.1.5 ; python_version>='3.11'",
4649
],
4750
"snakemake-xrootd": [
48-
"snakemake-storage-plugin-xrootd==0.1.4 ; python_version>='3.11'",
51+
"snakemake-storage-plugin-xrootd==1.0.0 ; python_version>='3.11'",
4952
],
5053
}
5154

0 commit comments

Comments
 (0)