Skip to content

Update Python version from 3.11 to 3.14 - #153

Open
chrisburr wants to merge 5 commits into
mainfrom
chrisburr/python-3.14
Open

Update Python version from 3.11 to 3.14#153
chrisburr wants to merge 5 commits into
mainfrom
chrisburr/python-3.14

Conversation

@chrisburr

Copy link
Copy Markdown
Member

BEGINRELEASENOTES

CHANGE: Update Python version from 3.11 to 3.14

ENDRELEASENOTES

@chrisburr
chrisburr force-pushed the chrisburr/python-3.14 branch from 8f7d011 to 8524c50 Compare January 22, 2026 11:51
@chrisburr
chrisburr force-pushed the chrisburr/python-3.14 branch from d34f93e to 424c45a Compare January 30, 2026 04:33
@chrisburr
chrisburr force-pushed the chrisburr/python-3.14 branch from 424c45a to 7e9ef48 Compare April 15, 2026 15:01
@chrisburr
chrisburr force-pushed the chrisburr/python-3.14 branch from 7e9ef48 to 1a2e03f Compare June 22, 2026 14:18
@chrisburr
chrisburr force-pushed the chrisburr/python-3.14 branch from 1a2e03f to 482485b Compare July 9, 2026 07:18
@chrisburr
chrisburr marked this pull request as ready for review July 9, 2026 13:30
@maxnoe

maxnoe commented Aug 26, 2026

Copy link
Copy Markdown

I'm a bit confused why the CI is green here, as I get:

❯ mamba env create -n diracos-test -f diracos.yaml
Using Cached Shard Index for conda-forge/linux-64                                                   ✔ Done
Using Cached Shard Index for conda-forge/noarch                                                     ✔ Done
Fetching and Parsing Packages' Shards                                                     ✔ Done (0.1 sec)

Resolving Environment                                                                     ✔ Done (0.1 sec)
Using Cached Shard Index for conda-forge/linux-64                                                   ✔ Done
Using Cached Shard Index for conda-forge/noarch                                                     ✔ Done
Fetching and Parsing Packages' Shards                                                     ✔ Done (0.1 sec)

Resolving Environment                                                                     ✔ Done (0.1 sec)
error    libmamba Could not solve for environment specs
    The following package could not be installed
    └─ mysqlclient >=2.0.3,<2.1 * does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs

with:

channels:
  - conda-forge
dependencies:
  - python=3.14
  - mysqlclient >=2.0.3,<2.1

and indeed the mysqlclient 2.0.3 is only available for <=3.11

@chrisburr

Copy link
Copy Markdown
Member Author

We have a dirac grid channel which includes a build of the mysqlclient version that we need:

https://github.com/DIRACGrid/DIRACOS2/blob/main/construct.yaml#L7

That said, we might be able to relax the constraint now that @sfayer has worked on removing the need to use MySQL's escape function.

@maxnoe

maxnoe commented Aug 26, 2026

Copy link
Copy Markdown

Nevermind, provided via the diracgrid channel.

However, I see these three merged pull requests: https://github.com/DIRACGrid/DIRAC/pulls?q=is%3Apr+escape_string+is%3Aclosed

So I wonder if the pin is still necessary?

Edit: saw your comment only after posting

@chrisburr
chrisburr force-pushed the chrisburr/python-3.14 branch 2 times, most recently from 2efca88 to 81ae8dc Compare August 28, 2026 12:23
@chrisburr
chrisburr force-pushed the chrisburr/python-3.14 branch from 81ae8dc to 3944871 Compare August 31, 2026 13:01
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.

3 participants