micropipenv icon indicating copy to clipboard operation
micropipenv copied to clipboard

poetry uses version like ^0.10.4 that are not Pipfile.lock complaint.

Open todo[bot] opened this issue 4 years ago • 15 comments

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.

todo[bot] avatar Mar 11 '20 16:03 todo[bot]

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

fridex avatar Jun 03 '20 07:06 fridex

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

sesheta avatar Apr 17 '21 02:04 sesheta

/remove-lifecycle stale

Low priority.

fridex avatar Apr 19 '21 09:04 fridex

/kind feature /priority backlog /help /good-first-issue /label hacktoberfest

goern avatar Jul 08 '21 17:07 goern

@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.

sesheta avatar Jul 08 '21 17:07 sesheta

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

sesheta avatar Aug 07 '21 20:08 sesheta

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.

wjhrdy avatar Aug 11 '21 22:08 wjhrdy

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

sesheta avatar Sep 11 '21 17:09 sesheta

@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.

sesheta avatar Sep 11 '21 17:09 sesheta

Thanks, @wjhrdy. This is valuable information. That sounds like the right way to extend the implementation.

/reopen /remove-lifecycle rotten /triage accepted

fridex avatar Sep 11 '21 18:09 fridex

@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.

sesheta avatar Sep 11 '21 18:09 sesheta

@frenzymadness is this a feature you would like to have/work on?

/lifecycle frozen

goern avatar Oct 27 '21 12:10 goern

@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.

frenzymadness avatar Nov 01 '21 08:11 frenzymadness

is this TODO still valid?

goern avatar Mar 08 '22 11:03 goern

/sig user-experience

goern avatar Apr 04 '22 10:04 goern