pantsbuild / example-python

An example repo to demonstrate Python support in Pants
Apache License 2.0
102 stars 77 forks source link

Go back to using resolves, but hedge about lockfile generation #94

Closed Eric-Arellano closed 2 years ago

Eric-Arellano commented 2 years ago

Reverts https://github.com/pantsbuild/example-python/pull/93.

As discussed in https://pantsbuild.slack.com/archives/C0D7TNJHL/p1646948835870139, we believe that multiple resolves even with manual generation is still an improvement over [python].requirement_constraints. The hope is that most users can use generate-lockfiles directly, but if not, our new docs continue to give some techniques for manual lockfile generation.

Our 2.10 docs no longer discuss requirement_constraints, in favor of resolves.