bitter-ability-32190
01/12/2022, 3:25 PM09:16:23.41 [WARN] The constraints file requirements.txt does not contain entries for the following requirements: pantsbuild-pants.
Ignoring `[python_setup].resolve_all_constraints` option.
09:16:23.46 [ERROR] 1 Exception encountered:
ValueError: [python].run_against_entire_lockfile was set, but could not find a lockfile or constraints file for this target set. See <https://www.pantsbuild.org/v2.9/docs/python-third-party-dependencies> for details.
Doesn't the version in my pants.toml
act like a pin for pants' version?
Do I have to keep both in lockstep?
Should pantsbuild-pants
be special-cased for run_against_entire_lockfile
?curved-television-6568
01/12/2022, 3:27 PMpants_requirements
target?curved-television-6568
01/12/2022, 3:28 PMpants_requirements
what it is we’re missing to do properly)bitter-ability-32190
01/12/2022, 3:33 PM.run_against_entire_lockfile
for performancebitter-ability-32190
01/12/2022, 3:38 PMCould not find a version that matches pyyaml<5.4,<7.0,>=3.0,>=3.10,>=3.13,>=6.0 (from -r <http://requirements.in|requirements.in> (line 148))
pantsbuild-pants
and its deps are coming from the bootstrapped env right? So really pinning it is a bad idea 🤔bitter-ability-32190
01/12/2022, 3:39 PMbitter-ability-32190
01/12/2022, 3:47 PMThe version of Pants is more useful now. If you're using a dev release, the version will be the exact release you're on, like before, to reduce the risk of a Plugin API change breaking your plugin. But if you're using a release candidate or stable release, the version will now be any non-dev release in the release series, e.g. any release candidate or stable release in Pants 2.9. This allows consumers of your plugin to use different patch versions than what you release the plugin with.
curved-television-6568
01/12/2022, 4:09 PMpants_requirements
. If you’re using a Pants dev release in your pants.toml
then the requirement will copy that
https://github.com/pantsbuild/pants/blob/a2346e5c180a8438f0cf27bf7ab71e9fbcae4df4/src/python/pants/backend/plugin_development/pants_requirements_test.py#L21-L26bitter-ability-32190
01/13/2022, 4:08 PMplugins
option.
Then I've completely sidestepped the issue 😄bitter-ability-32190
01/13/2022, 4:13 PMbitter-ability-32190
01/13/2022, 4:37 PMbitter-ability-32190
01/13/2022, 8:14 PMbitter-ability-32190
01/13/2022, 8:19 PMcheck
Whew