micropipenv
micropipenv copied to clipboard
poetry uses version like ^0.10.4 that are not Pipfile.lock complaint.
https://github.com/thoth-station/micropipenv/blob/96250e22e6a53c80551967fa63b952d7edeb97b5/micropipenv.py#L458-L463
This issue was generated by todo based on a TODO
comment in 96250e22e6a53c80551967fa63b952d7edeb97b5 when #30 was merged. cc @fridex.
See Poetry docs for more info:
https://python-poetry.org/docs/versions/#version-constraints
To make this fully compliant, we will need to add support for:
- caret requirements
- tilde requirements
- wildcard requirements
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
/remove-lifecycle stale
Low priority.
/kind feature /priority backlog /help /good-first-issue /label hacktoberfest
@goern: This request has been marked as suitable for new contributors.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue
command.
In response to this:
/kind feature /priority backlog /help /good-first-issue /label hacktoberfest
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
Poetry natively supports a conversion to requirements.txt so we could attempt to mimic that. I've found that most stable way to use micropipenv with poetry is to have poetry export a requirements.txt file.
poetry export -f requirements.txt --output requirements.txt --without-hashes
This seems to be the poetry function for this export: https://github.com/python-poetry/poetry/blob/master/poetry/utils/exporter.py
If we are just interested in the conversion from ^1.2.3 to >=1.2.3 <2.0.0
we could use dephell as inspiration.
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
/close
@sesheta: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity. Reopen the issue with
/reopen
. Mark the issue as fresh with/remove-lifecycle rotten
./close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Thanks, @wjhrdy. This is valuable information. That sounds like the right way to extend the implementation.
/reopen /remove-lifecycle rotten /triage accepted
@fridex: Reopened this issue.
In response to this:
Thanks, @wjhrdy. This is valuable information. That sounds like the right way to extend the implementation.
/reopen /remove-lifecycle rotten /triage accepted
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@frenzymadness is this a feature you would like to have/work on?
/lifecycle frozen
@frenzymadness is this a feature you would like to have/work on?
Yes, I believe that the capability of parsing such versions will be useful in many use-cases but because it's complex to implement I cannot promise a deadline.
is this TODO still valid?
/sig user-experience