Skip to content

Conversation

@ponyisi
Copy link
Collaborator

@ponyisi ponyisi commented Mar 25, 2025

There is a conflict in setting up Python versions with 3.13t if we use both the setup-python and setup-uv actions. Do only the latter. (This PR does not itself bring in 3.13t, that has conflicts with dependencies, specifically aiohttp aio-libs/aiohttp#10467 .)

@ponyisi ponyisi changed the title Add free-thread Python 3.13 and preview Python 3.14 to test matrix Use uv to set up python version in tests Mar 25, 2025
Comment on lines +47 to +48
uv pip install --upgrade '.[test,docs]'
uv pip list
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah that's interesting. I didn't realize that if you setup Python with uv that it knows how to automatically activate the default virtual environment it creates.

https://github.com/astral-sh/setup-uv/blob/22695119d769bdb6f7032ad67b9bca0ef8c4a174/README.md#python-version

That's good to know, so thanks @ponyisi!

Copy link
Member

@matthewfeickert matthewfeickert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, @ponyisi do you want to also apply these changes to all the other GitHub Action workflows?

?

Copy link
Contributor

@BenGalewsky BenGalewsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@BenGalewsky BenGalewsky merged commit 78f822b into master Mar 26, 2025
35 checks passed
@BenGalewsky BenGalewsky deleted the free-thread-python branch March 26, 2025 16:35
kyungeonchoi pushed a commit that referenced this pull request Apr 14, 2025
* Add free-thread Python 3.13 and preview Python 3.14 to test matrix
* Setup python with uv?
* No system uv
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.

4 participants