setuptools deprecation warnings with tox isolated builds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
New
|
Undecided
|
Unassigned |
Bug Description
In the pbench project [1]
When we run our tests via tox, we see the following warnings printed:
.package recreate: /var/tmp/
.package installdeps: setuptools >= 46.1.3., wheel >= 0.34.2
/var/tmp/
warnings.warn(
/var/tmp/
warnings.warn(
We run with tox's `isolated_build` parameter set to True [2].
"James" from the Boston Python Slack workspace did some further digging and found the culprit to be how pbr works with isolated builds (if you turn off isolated builds, the warnings don't occur):
23:22 [snoopjedi@denton ~/repos/pbench-src (main *)]
$ PYTHONWARNINGS=
Error parsing
Traceback (most recent call last):
File "/var/tmp/
attrs = util.cfg_
File "/var/tmp/
kwargs = setup_cfg_
File "/var/tmp/
cmd = cls(dist)
File "/var/tmp/
super(
File "/var/tmp/
self.
File "/var/tmp/
warnings.warn(
setuptools.
error in setup command: Error parsing /home/snoopjedi
We are using pbr 5.6.0.
[1] https:/
[2] https:/
summary: |
- setuptools decprecation warnings with tox isolated builds + setuptools deprecation warnings with tox isolated builds |