Bug 249876 - devel/py-argcomplete: Unable to build due to py-importlib-metadata - not found
Summary: devel/py-argcomplete: Unable to build due to py-importlib-metadata - not found
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sunpoet Po-Chuan Hsieh
URL: https://github.com/kislyuk/argcomplet...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-25 10:51 UTC by Alexander Kuznetsov
Modified: 2020-09-27 21:12 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kuznetsov 2020-09-25 10:51:11 UTC
I'm unable to build package depends on py-argcomplete due to py-importlib-metadata had been updated to version 2.0.0, but py-argcomplete requires version less than 2.0.

[00:00:22] =======================<phase: run-depends    >============================
[00:00:22] ===>   py37-argcomplete-1.12.0 depends on package: py37-setuptools>0 - found
[00:00:22] ===>   py37-argcomplete-1.12.0 depends on file: /usr/local/bin/python3.7 - found
[00:00:22] ===>   py37-argcomplete-1.12.0 depends on package: py37-importlib-metadata>=0.23<2 - not found
[00:00:22] ===>   Installing existing package /packages/All/py37-importlib-metadata-2.0.0.txz
[00:00:22] [freebsd-12-amd64.bld.knhome.ru] Installing py37-importlib-metadata-2.0.0...
[00:00:22] [freebsd-12-amd64.bld.knhome.ru] `-- Installing py37-zipp-3.2.0...
[00:00:22] [freebsd-12-amd64.bld.knhome.ru] `-- Extracting py37-zipp-3.2.0: ........ done
[00:00:22] [freebsd-12-amd64.bld.knhome.ru] Extracting py37-importlib-metadata-2.0.0: .......... done
[00:00:22] ===>   py37-argcomplete-1.12.0 depends on package: py37-importlib-metadata>=0.23<2 - not found
[00:00:22] *** Error code 1

FreeBSD 12.1 amd64
Comment 1 Danilo G. Baio freebsd_committer 2020-09-27 00:41:12 UTC
swills@ already sent a patch upstream, it seems argcomplete works with importlib-metadata 2.X.
Comment 2 Danilo G. Baio freebsd_committer 2020-09-27 00:42:29 UTC
(In reply to Alexander Kuznetsov from comment #0)

This breaks devel/py-argcomplete and its consumers, like py-azure-cli.
Comment 3 Danilo G. Baio freebsd_committer 2020-09-27 21:12:35 UTC


sunpoet@ patched the requirements in ports r550314