bitter-ability-32190
11/03/2022, 5:56 PMERROR: Package 'pkglocker' requires a different Python: 3.9.7 not in '==3.8.*'
Coming from:
python_sources()
pex_binary(
name="pkglocker-binary",
entry_point="pkglocker.py",
layout="packed",
)
python_distribution(
name="pkglocker-dist",
dependencies=["./pkglocker.py"],
provides=python_artifact(name="pkglocker", version="0.0.1"),
)
pyoxidizer_binary(
name="pkglocker-pyox",
dependencies=[":pkglocker-dist"],
entry_point="pkglocker.py",
)
pants.toml
has:
[python]
interpreter_constraints = ["CPython==3.8.*"]
But Pants itself is using 3.9
I think.
So I'm guessing we are running something in Pants' env instead of a materialized one? Or I'm missing something 🙂src/python/pants/backend/python/packaging/pyoxidizer/subsystem.py
has an ICs of "CPython>=3.8,<4"
🤔interpreter_constraints=["CPython>=3.8,<4"],
fixes it, but still 😞wide-midnight-78598
11/03/2022, 7:21 PMancient-vegetable-10556
11/03/2022, 9:44 PMbitter-ability-32190
11/04/2022, 12:56 AMwide-midnight-78598
11/04/2022, 12:05 PMbitter-ability-32190
11/04/2022, 12:15 PMwide-midnight-78598
11/04/2022, 12:17 PMbitter-ability-32190
11/04/2022, 12:44 PMwide-midnight-78598
11/04/2022, 12:56 PMbitter-ability-32190
11/04/2022, 1:25 PMwide-midnight-78598
11/04/2022, 1:54 PMbitter-ability-32190
11/04/2022, 1:55 PMwide-midnight-78598
11/04/2022, 1:57 PMbitter-ability-32190
11/04/2022, 1:59 PMwide-midnight-78598
11/04/2022, 2:00 PM