[MacPorts] #62682: py-dns-lexicon: do not check active variant of poetry port

MacPorts noreply at macports.org
Mon Apr 12 16:34:29 UTC 2021


#62682: py-dns-lexicon: do not check active variant of poetry port
------------------------+----------------------------
 Reporter:  ryandesign  |      Owner:  Schamschula
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.4
 Keywords:              |       Port:  py-dns-lexicon
------------------------+----------------------------
 I noticed that we keep getting build failures on the buildbot for py37
 -dns-lexicon and
 [https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/83197/steps
 /install-port/logs/stdio py39-dns-lexicon] because e.g.:

 {{{
 DEBUG: Active variants check for source-type install considers
 depends_fetch depends_extract depends_lib depends_build depends_run:
 python39 py39-cryptography py39-dnspython py39-future py39-requests
 py39-tldextract py39-yaml py39-beautifulsoup4 py39-pep517 py39-python-
 install poetry py39-poetry-core py39-wheel lexicon_select
 DEBUG: poetry is installed with the following variants: +python38
 DEBUG:   required: python39, forbidden:
 DEBUG:   rejected, because required variant python39 is missing
 Error: Failed to configure py39-dns-lexicon: poetry must be installed with
 +python39.
 }}}

 Obviously we want to be able to build and provide binaries of this port
 and the other ports that depend on it and we want not to see repeated
 build failures on the buildbot so I would like this problem to be fixed.

 Is it true that py39-dns-lexicon really requires the +python39 variant of
 poetry? (This check was added in [ac766b845482f27fd8e8254e77c5e37b7da6c285
 /macports-ports].) If so, then I agree with #62296 that poetry should be
 changed to py-poetry so that py39-dns-lexicon can depend on py39-poetry
 etc. On the other hand, if py39-dns-lexicon would have no problem using
 poetry even with its +python38 variant selected, then the active variant
 check should be removed from py-dns-lexicon.

 Compare with py-pygmsh and py-cipheycore which depend on poetry but do not
 check its active variant.

-- 
Ticket URL: <https://trac.macports.org/ticket/62682>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list