Skip to content

Upgrade python 3.14 - #25

Open
youngdashu wants to merge 2 commits into
mainfrom
upgrade-python-3.14
Open

Upgrade python 3.14#25
youngdashu wants to merge 2 commits into
mainfrom
upgrade-python-3.14

Conversation

@youngdashu

Copy link
Copy Markdown
Collaborator

No description provided.

Move the dependency floors off versions that cap out at cp312 so the
project can install and run on Python 3.14:

- numpy: >=1.26.4,<1.27.0 -> >=2.1.0,<3.0.0 (1.26 has no cp314 wheels;
  cp314 first ships in the numpy 2.x line)
- dask/distributed: <2025.0.0 -> >=2025.1.0 (2024.x predates 3.14 and is
  incompatible with bokeh 3)
- bokeh: <3.0.0 -> >=3.1.0 (2.x has no cp314 wheels; modern dask needs 3.1+)
- scipy: >=1.14.0 -> >=1.16.0; biotite: >=0.41.2 -> >=1.1.0

Raise requires-python to >=3.11, add 3.11-3.14 classifiers, extend the CI
matrix to 3.11/3.12/3.13/3.14, and update the Python badges.
biotite 0.41's afdb.fetch accepted the full 'AF-<acc>-F1-model_v4' id and
stripped the accession internally; biotite >=1.0 rejects it with
"Cannot extract AFDB identifier". Extract the bare UniProt accession in
fetch_one_afdb and pass that to biotite instead of the raw id.

Because biotite now writes files named by the bare accession, canonicalize
both sides of the missing-id reconciliation in
retrieve_afdb_chunk_to_h5_concurrent so full-format inputs are matched to
their downloaded structures rather than being reported missing.

Surfaced by the biotite bump in the Python 3.14 upgrade; fixes the
test_afdb_download suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant