zed/antelope ubuntu focal jobs fails at dbcounter installation with TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
High
|
Unassigned |
Bug Description
With setuptools>=71.0.0 jobs running on ubuntu-
2024-07-19 08:01:16.491799 | controller | Getting requirements to build wheel: started
2024-07-19 08:01:17.387981 | controller | Getting requirements to build wheel: finished with status 'error'
2024-07-19 08:01:17.388246 | controller | ERROR: Command errored out with exit status 1:
2024-07-19 08:01:17.388313 | controller | command: /usr/bin/python3.8 /tmp/tmpmbuwxtfh get_requires_
2024-07-19 08:01:17.388359 | controller | cwd: /tmp/pip-
2024-07-19 08:01:17.388427 | controller | Complete output (47 lines):
2024-07-19 08:01:17.388477 | controller | running egg_info
2024-07-19 08:01:17.388538 | controller | creating dbcounter.egg-info
2024-07-19 08:01:17.388601 | controller | writing dbcounter.
2024-07-19 08:01:17.388661 | controller | writing dependency_links to dbcounter.
2024-07-19 08:01:17.388723 | controller | writing entry points to dbcounter.
2024-07-19 08:01:17.388784 | controller | writing top-level names to dbcounter.
2024-07-19 08:01:17.388866 | controller | writing manifest file 'dbcounter.
2024-07-19 08:01:17.388916 | controller | reading manifest file 'dbcounter.
2024-07-19 08:01:17.389003 | controller | /tmp/pip-
2024-07-19 08:01:17.389040 | controller | warnings.warn(
2024-07-19 08:01:17.389111 | controller | Traceback (most recent call last):
2024-07-19 08:01:17.389160 | controller | File "/tmp/tmpmbuwxtfh", line 280, in <module>
2024-07-19 08:01:17.389221 | controller | main()
2024-07-19 08:01:17.389271 | controller | File "/tmp/tmpmbuwxtfh", line 263, in main
2024-07-19 08:01:17.389333 | controller | json_out[
2024-07-19 08:01:17.389396 | controller | File "/tmp/tmpmbuwxtfh", line 114, in get_requires_
2024-07-19 08:01:17.389446 | controller | return hook(config_
2024-07-19 08:01:17.389516 | controller | File "/tmp/pip-
2024-07-19 08:01:17.389565 | controller | return self._get_
2024-07-19 08:01:17.389631 | controller | File "/tmp/pip-
2024-07-19 08:01:17.389680 | controller | self.run_setup()
2024-07-19 08:01:17.389745 | controller | File "/tmp/pip-
2024-07-19 08:01:17.389794 | controller | exec(code, locals())
2024-07-19 08:01:17.389857 | controller | File "<string>", line 1, in <module>
2024-07-19 08:01:17.389919 | controller | File "/tmp/pip-
2024-07-19 08:01:17.389980 | controller | return distutils.
2024-07-19 08:01:17.390040 | controller | File "/usr/lib/
2024-07-19 08:01:17.390089 | controller | dist.run_commands()
2024-07-19 08:01:17.390151 | controller | File "/usr/lib/
2024-07-19 08:01:17.390200 | controller | self.run_
2024-07-19 08:01:17.390264 | controller | File "/tmp/pip-
2024-07-19 08:01:17.390326 | controller | super()
2024-07-19 08:01:17.390374 | controller | File "/usr/lib/
2024-07-19 08:01:17.390448 | controller | cmd_obj.run()
2024-07-19 08:01:17.390511 | controller | File "/tmp/pip-
2024-07-19 08:01:17.390559 | controller | self.find_sources()
2024-07-19 08:01:17.390624 | controller | File "/tmp/pip-
2024-07-19 08:01:17.390673 | controller | mm.run()
2024-07-19 08:01:17.390734 | controller | File "/tmp/pip-
2024-07-19 08:01:17.390782 | controller | self.prune_
2024-07-19 08:01:17.390846 | controller | File "/tmp/pip-
2024-07-19 08:01:17.390895 | controller | base_dir = self.distributi
2024-07-19 08:01:17.390957 | controller | File "/tmp/pip-
2024-07-19 08:01:17.391007 | controller | return _distribution_
2024-07-19 08:01:17.391069 | controller | File "/tmp/pip-
2024-07-19 08:01:17.391118 | controller | canonicalize_
2024-07-19 08:01:17.391179 | controller | TypeError: canonicalize_
Setuptools issue:- https:/
Changed in neutron: | |
importance: | Undecided → High |
Hello:
I think we should do the same: to pin setuptools to the last version no implementing [1], that is v70.1.1. The change done in setuptools [1] requires the change in packaging [2]. But we enforce the max version of packaging===21.3 in 2023.1.
Regards.
[1]https:/ /github. com/pypa/ setuptools/ commit/ 555f7db16aad8ea f121c464eae76df 871c825fd1 /github. com/pypa/ packaging/ commit/ cc938f984bbbe43 c5734b9656c9837 ab3a28191f
[2]https:/