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

Support loading constraint dependencies toml file #172

Closed
wants to merge 3 commits into from

Conversation

honnix
Copy link

@honnix honnix commented Apr 29, 2021

Resolves: python-poetry/poetry#3225

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

This PR enables loading and parsing constraints toml files both locally and remotely.

@honnix
Copy link
Author

honnix commented Apr 29, 2021

An example of the constraints toml file:

file name: constraints.toml

file content:

[poetry.constraint-dependencies]
entrypoints = ">0.1"
cleo = "^1.0.0a1"

pyproject.toml:

...
[tool.poetry.constraint-dependencies]
files = ["constraints.toml"]
...

@honnix
Copy link
Author

honnix commented Jun 15, 2021

I tried. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for pip --constraint
1 participant