Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI can use wrong Python version in some cases #931

Open
Pijukatel opened this issue Jan 23, 2025 · 1 comment · May be fixed by apify/workflows#169
Open

CI can use wrong Python version in some cases #931

Pijukatel opened this issue Jan 23, 2025 · 1 comment · May be fixed by apify/workflows#169
Assignees
Labels
bug Something isn't working. t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@Pijukatel
Copy link
Contributor

See following log screenshot which proves that Poetry can override Python version that was intended to be used by the CI:

Image

Run pipx install --python 3.9 poetry
creating virtual environment...
installing poetry...
done! ✨ 🌟 ✨
  installed package poetry 2.0.1, installed using Python 3.9.21
  These apps are now globally available
    - poetry
poetry install --all-extras
The currently activated Python version 3.9.21 is not supported by the project (^3.10).
Trying to find and use a compatible version. 
Using python3.12 (3.12.3)
@Pijukatel Pijukatel added bug Something isn't working. t-tooling Issues with this label are in the ownership of the tooling team. labels Jan 23, 2025
@B4nan
Copy link
Member

B4nan commented Jan 27, 2025

lets just add a PR check to ensure the python version is matching what it should be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants