Skip to content

Commit

Permalink
Split frozenlist and h5py requirements to support Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Oct 14, 2023
1 parent d75667f commit 118b38a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion lib/galaxy/dependencies/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ exceptiongroup==1.1.3 ; python_version >= "3.7" and python_version < "3.11"
filelock==3.12.2 ; python_version >= "3.7" and python_version < "3.13"
fluent-logger==0.10.0 ; python_version >= "3.7" and python_version < "3.13"
fonttools==4.38.0 ; python_version >= "3.7" and python_version < "3.13"
frozenlist==1.3.3 ; python_version >= "3.7" and python_version < "3.13"
frozenlist==1.3.3 ; python_version >= "3.7" and python_version < "3.8"
frozenlist==1.4.0 ; python_version >= "3.8" and python_version < "3.13"
future==0.18.3 ; python_version >= "3.7" and python_version < "3.13"
galaxy-release-util==0.1.5 ; python_version >= "3.7" and python_version < "3.13"
greenlet==2.0.2 ; python_version >= "3.7" and python_version < "3.13"
Expand Down
6 changes: 4 additions & 2 deletions lib/galaxy/dependencies/pinned-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ exceptiongroup==1.1.3 ; python_version >= "3.7" and python_version < "3.11"
fastapi-utils==0.2.1 ; python_version >= "3.7" and python_version < "3.13"
fastapi==0.98.0 ; python_version >= "3.7" and python_version < "3.13"
filelock==3.12.2 ; python_version >= "3.7" and python_version < "3.13"
frozenlist==1.3.3 ; python_version >= "3.7" and python_version < "3.13"
frozenlist==1.3.3 ; python_version >= "3.7" and python_version < "3.8"
frozenlist==1.4.0 ; python_version >= "3.8" and python_version < "3.13"
fs==2.4.16 ; python_version >= "3.7" and python_version < "3.13"
fsspec==2023.1.0 ; python_version >= "3.7" and python_version < "3.13"
future==0.18.3 ; python_version >= "3.7" and python_version < "3.13"
Expand All @@ -84,7 +85,8 @@ gunicorn==21.2.0 ; python_version >= "3.7" and python_version < "3.13"
gxformat2==0.18.0 ; python_version >= "3.7" and python_version < "3.13"
h11==0.14.0 ; python_version >= "3.7" and python_version < "3.13"
h5grove==1.3.0 ; python_version >= "3.7" and python_version < "3.13"
h5py==3.8.0 ; python_version >= "3.7" and python_version < "3.13"
h5py==3.8.0 ; python_version >= "3.7" and python_version < "3.8"
h5py==3.10.0 ; python_version >= "3.8" and python_version < "3.13"
humanfriendly==10.0 ; python_version >= "3.7" and python_version < "3.13"
idna==3.4 ; python_version >= "3.7" and python_version < "3.13"
importlib-metadata==4.13.0 ; python_version >= "3.7" and python_version < "3.13"
Expand Down
10 changes: 7 additions & 3 deletions lib/galaxy/dependencies/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,13 @@ split_requirement () {
}

# For some packages there is no recent version that works on all Python versions
# supported by Galaxy, so Poetry resorts to an old version that didn't have a
# maximum Python version pin. Here we replace any such requirement with multiple
# Python-version-specific requirements.
# supported by Galaxy, so Poetry resorts to an old version. Here we replace any
# such requirement with multiple Python-version-specific requirements.
# Packages which specify a maximum Python version pin:
split_requirement matplotlib
split_requirement numpy
split_requirement scipy
# Packages that added Python 3.12 support in a release that doesn't support 3.7
# any more (i.e. they can be removed from here when we drop Python 3.7 support):
split_requirement frozenlist
split_requirement h5py

0 comments on commit 118b38a

Please sign in to comment.