GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge any marker constraints into constraints with specific markers by radoering · Pull Request #4590 · python-poetry/poetry

Conversation

@radoering

@radoering radoering commented Oct 4, 2021

Copy link
Copy Markdown
Member

Pull Request Check List

Resolves: #4516

  • Added tests for changed code.
  • Updated documentation for changed code.

If there are several requirements for the same library, requirements with markers can be considered as additions to requirements without markers.

For example see this extract from the install_requires of black 21.9b0:

"typing_extensions>=3.10.0.0",
# 3.10.0.1 is broken on at least Python 3.10,
# https://github.com/python/typing/issues/865
"typing_extensions!=3.10.0.1; python_version >= '3.10'",

These statements define that typing_extensions has to be at least 3.10.0.0 for all python versions (including python 3.10 and above). Additionally, typing_extensions for python 3.10 and above must not be 3.10.0.1.

Thus, the constraints of requirements without markers have to be merged into the constraints of requirements with markers.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

kkirsche reacted with hooray emoji
All reactions
  • 🎉 1 reaction
@radoering
radoering force-pushed the merge-any-marker-constraints-into-specific-marker-constraints branch 2 times, most recently from 7fec712 to 7bacea5 Compare November 17, 2021 07:09
@neersighted neersighted self-assigned this Nov 17, 2021
@radoering
Merge any marker constraints into constraints with specific markers
53dfb8a
@radoering
radoering force-pushed the merge-any-marker-constraints-into-specific-marker-constraints branch from 7bacea5 to 53dfb8a Compare November 21, 2021 05:47
neersighted
neersighted approved these changes Nov 21, 2021
View reviewed changes
@neersighted
neersighted merged commit 07565b2 into python-poetry:master Nov 21, 2021
@finswimmer finswimmer mentioned this pull request Mar 6, 2022
Release 1.2.0b1 #5280
Merged
This was referenced Nov 25, 2022
chore: re-lock Poetry's dependencies #6950
Merged
Discard merged any marker constraints #7098
Merged
@github-actions

github-actions Bot commented Feb 29, 2024

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 29, 2024
@radoering
radoering deleted the merge-any-marker-constraints-into-specific-marker-constraints branch November 24, 2024 12:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@neersighted neersighted neersighted approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@neersighted neersighted

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

version solving mistake with black, tensorflow and typing_extensions.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@radoering @neersighted
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.