Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806396 - dev-python/tomli circular dependencies
Summary: dev-python/tomli circular dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-04 16:16 UTC by Patrick Lauer
Modified: 2021-08-04 19:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2021-08-04 16:16:34 UTC
amd64 / # FEATURES="-test" emerge -av1 tomli

These are the packages that would be merged, in order:

Calculating dependencies... done!


[nomerge       ] dev-python/tomli-1.0.4::gentoo  USE="-test" PYTHON_TARGETS="python3_10 python3_8 python3_9 -pypy3"
[ebuild  N     ]  dev-python/pyproject2setuppy-19::gentoo  USE="-test" PYTHON_TARGETS="python3_10 python3_8 python3_9 -pypy3" 13 KiB
[ebuild  N     ]   dev-python/tomli-1.0.4::gentoo  USE="-test" PYTHON_TARGETS="python3_10 python3_8 python3_9 -pypy3" 118 KiB

Total: 2 packages (2 new), Size of downloads: 130 KiB

 * Error: circular dependencies:

(dev-python/pyproject2setuppy-19:0/0::gentoo, ebuild scheduled for merge) depends on
 (dev-python/tomli-1.0.4:0/0::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-python/pyproject2setuppy-19:0/0::gentoo, ebuild scheduled for merge) (buildtime)

tomli depends on pyproject2setuppy through distutils-r1 eclass, pyproject2setuppy depends on tomli directly.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-08-04 17:53:14 UTC
Gotta love the idea that new fancy build systems require markup that's not available built-in in Python, and that the modern provider for this markup requires new fancy build systems?  ;-)

I'll figure something out.
Comment 2 Larry the Git Cow gentoo-dev 2021-08-04 19:35:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363c9acaad279261010253c3fe3b58b871d95a96

commit 363c9acaad279261010253c3fe3b58b871d95a96
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-08-04 19:17:44 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-08-04 19:35:00 +0000

    dev-python/tomli: Fix circular dep with pyproject2setuppy
    
    Write a trivial setup.py to avoid the circular dependency between
    dev-python/tomli and dev-python/pyproject2setuppy.
    
    Closes: https://bugs.gentoo.org/806396
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/tomli/tomli-1.0.4.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)