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

[BUG] Support for python project version ranges #751

Closed
sperka opened this issue Apr 4, 2024 · 2 comments
Closed

[BUG] Support for python project version ranges #751

sperka opened this issue Apr 4, 2024 · 2 comments
Labels
bug Something isn't working needs-triage stale

Comments

@sperka
Copy link
Contributor

sperka commented Apr 4, 2024

Describe the bug

If a python project dependency is set as python@>=3.10,<4.0, install and install:ci scripts will be generated with a wrong PYTHON_VERSION env value, and won't be able to execute poetry env use python$PYTHON_VERSION properly

Expected Behavior

poetry env use python$PYTHON_VERSION can run without error

Current Behavior

poetry env use python$PYTHON_VERSION runs with error if python version is set as a range (and gets generated into the project's deps.json)

Reproduction Steps

Create a type-safe-api instance and this.project.runtime.python!.addDependency('python@>=3.10,<4.0');

Possible Solution

No response

Additional Information/Context

No response

PDK version used

latest

What languages are you seeing this issue on?

Python

Environment details (OS name and version, etc.)

Mac latest

@sperka sperka added bug Something isn't working needs-triage labels Apr 4, 2024
Copy link

This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label.

@github-actions github-actions bot added the stale label Jun 10, 2024
Copy link

Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage stale
Projects
None yet
Development

No branches or pull requests

1 participant