Bug 270243 - devel/py-wheel: update to 0.40.0
Summary: devel/py-wheel: update to 0.40.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Nicola Vitale
URL: https://reviews.freebsd.org/D39095
Keywords:
Depends on:
Blocks: 269735 270358 270510
  Show dependency treegraph
 
Reported: 2023-03-15 14:28 UTC by Charlie Li
Modified: 2023-05-18 08:35 UTC (History)
2 users (show)

See Also:
nivit: maintainer-feedback+
antoine: exp-run+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Li freebsd_committer freebsd_triage 2023-03-15 14:28:56 UTC
See review D39095 for the patch and description.

exp-run requested, mostly to find any transitive dependencies on setuptools due to unconditional RUN_DEPENDS from USE_PYTHON=distutils (environment pollution), which will be addressed separately
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2023-03-18 07:07:43 UTC
this breaks the ports tree:

[00:00:27] Calculating ports order and dependencies
[00:00:40] Error: compute_deps_pkg failed to lookup pkgname for devel/py-build@py310 processing package py310-wheel-0.40.0 from devel/py-wheel@py310 -- Is SUBDIR+=py-build@py310 missing in devel/Makefile and does the port provide the 'py310' FLAVOR?
[00:00:40] Error: compute_deps_pkg failed to lookup pkgname for devel/py-build@py37 processing package py37-wheel-0.40.0 from devel/py-wheel@py37 -- Is SUBDIR+=py-build@py37 missing in devel/Makefile and does the port provide the 'py37' FLAVOR?
[00:00:40] Error: compute_deps_pkg failed to lookup pkgname for devel/py-build@py311 processing package py311-wheel-0.40.0 from devel/py-wheel@py311 -- Is SUBDIR+=py-build@py311 missing in devel/Makefile and does the port provide the 'py311' FLAVOR?
[00:00:40] Error: compute_deps_pkg failed to lookup pkgname for devel/py-build@py38 processing package py38-wheel-0.40.0 from devel/py-wheel@py38 -- Is SUBDIR+=py-build@py38 missing in devel/Makefile and does the port provide the 'py38' FLAVOR?
[00:00:40] Error: Fatal errors encountered calculating dependencies
Comment 2 Charlie Li freebsd_committer freebsd_triage 2023-03-18 10:32:35 UTC
No allflavors in devel/py-build strikes again...will also be addressed separately. How does the py39 flavour look?
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2023-03-18 19:41:35 UTC
(In reply to Charlie Li from comment #2)
what do you mean?  ports tree is broken so exp-run can't start
Comment 4 Charlie Li freebsd_committer freebsd_triage 2023-03-19 22:10:08 UTC
(In reply to Antoine Brodin from comment #3)
The errors in comment #2 reference the py310, py37 and py38 flavours only.
Comment 5 Antoine Brodin freebsd_committer freebsd_triage 2023-03-19 22:18:24 UTC
(In reply to Charlie Li from comment #4)
I can remove allflavors from devel/py-wheel/Makefile and try the exp-run, is it what you mean?
Comment 6 Antoine Brodin freebsd_committer freebsd_triage 2023-03-22 20:53:02 UTC
(In reply to Antoine Brodin from comment #5)
Ok, the exp-run can't be performed.
Please provide a patch where "poudriere bulk -a" starts without warning/error.
Comment 7 Charlie Li freebsd_committer freebsd_triage 2023-03-27 05:21:32 UTC
Can be restarted after ports 33333715d11b23ec7140b3cc6f377223a224853b
Comment 8 Charlie Li freebsd_committer freebsd_triage 2023-03-27 05:55:03 UTC
I misspoke, devel/py-build also needed to be made allflavors-safe, so after ports bd7a4e938a6062a7cc1ce9b31ccbeaf50093ab9d should get it going.
Comment 10 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=937a0b9c914a6cf1aeeda7dd6edf2fa8dcd04587

commit 937a0b9c914a6cf1aeeda7dd6edf2fa8dcd04587
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:16:13 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:16:13 +0000

    devel/py-pyTooling: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 devel/py-pyTooling/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=585b5983c2a3a00fd73c45c0485df847139e02b4

commit 585b5983c2a3a00fd73c45c0485df847139e02b4
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:13:41 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:13:41 +0000

    graphics/py-glcontext: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 graphics/py-glcontext/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 12 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:22 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a93a043ee3974e2d4e0b22ca897476acaf93c13f

commit a93a043ee3974e2d4e0b22ca897476acaf93c13f
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:11:25 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:11:25 +0000

    devel/py-dill: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 devel/py-dill/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 13 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e23df79aa323fceacdeefa1edf0fc7397647512

commit 7e23df79aa323fceacdeefa1edf0fc7397647512
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:12:16 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:12:16 +0000

    devel/py-fastnumbers: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 devel/py-fastnumbers/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 14 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=40d5f4a10d6dc6c35443a7db8a3246c44474bf8e

commit 40d5f4a10d6dc6c35443a7db8a3246c44474bf8e
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:09:01 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:09:01 +0000

    devel/py-cerberus: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 devel/py-cerberus/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 15 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71734f3a8125523b707eec429f49c688801d2e81

commit 71734f3a8125523b707eec429f49c688801d2e81
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:10:25 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:10:25 +0000

    cad/py-cocotb: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 cad/py-cocotb/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 16 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3fe6aa7a8bad4873fcae1643b7e54eb6f41a7b00

commit 3fe6aa7a8bad4873fcae1643b7e54eb6f41a7b00
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:07:50 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:07:50 +0000

    security/pssh: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 security/pssh/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 17 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d9819ab072352de89866cc7f9fda940076df274

commit 4d9819ab072352de89866cc7f9fda940076df274
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:05:13 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:05:13 +0000

    dns/letsdns: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 dns/letsdns/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 18 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df2d6dcc83906a3bf22395d447e9011d177b690c

commit df2d6dcc83906a3bf22395d447e9011d177b690c
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:03:34 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:03:34 +0000

    www/flexget: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 www/flexget/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 19 commit-hook freebsd_committer freebsd_triage 2023-03-29 01:18:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18034f3c639fffa31e473e3e933146681373b8cf

commit 18034f3c639fffa31e473e3e933146681373b8cf
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 01:15:21 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 01:15:21 +0000

    devel/py-itertree: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 devel/py-itertree/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 21 commit-hook freebsd_committer freebsd_triage 2023-03-29 14:02:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bc1b579fbe80e4db2df7af54d19f95d2a4880158

commit bc1b579fbe80e4db2df7af54d19f95d2a4880158
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 14:00:43 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 14:00:43 +0000

    math/py-chaospy: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 math/py-chaospy/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 22 commit-hook freebsd_committer freebsd_triage 2023-03-29 14:02:46 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c98df76a3237ae0708819837f54f34fd3b04abf

commit 5c98df76a3237ae0708819837f54f34fd3b04abf
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 13:59:27 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 13:59:27 +0000

    graphics/py-moderngl: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 graphics/py-moderngl/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 23 commit-hook freebsd_committer freebsd_triage 2023-03-29 14:02:47 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22c31d167011bbf3de67fee9b20845daf7bf7f8e

commit 22c31d167011bbf3de67fee9b20845daf7bf7f8e
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 14:01:49 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 14:01:49 +0000

    math/py-cmyt: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 math/py-cmyt/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 25 commit-hook freebsd_committer freebsd_triage 2023-03-29 15:03:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5a744bfb15a5213f10bfb4fc27b23829b9375ecd

commit 5a744bfb15a5213f10bfb4fc27b23829b9375ecd
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-29 15:03:19 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-29 15:03:19 +0000

    graphics/py-moderngl-window: explicitly add setuptools to BUILD_DEPENDS

    PR: 270243

 graphics/py-moderngl-window/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 26 Antoine Brodin freebsd_committer freebsd_triage 2023-03-29 15:55:29 UTC
Exp-run looks fine
Comment 27 commit-hook freebsd_committer freebsd_triage 2023-03-30 08:47:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=944980be0a799110b9a402cea8b5be8bef31d75d

commit 944980be0a799110b9a402cea8b5be8bef31d75d
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2023-03-30 08:28:18 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2023-03-30 08:45:15 +0000

    devel/py-wheel: Update to 0.40.0

    - Use devel/py-flit-core as build dependency to conform to PEP517
    - Remove all options (SIGNATURE, PIP) due to circular dependencies.

    PR:             270243
    Reported by:    vishwin
    Differential Revision:  https://reviews.freebsd.org/D39095

 devel/py-wheel/Makefile | 19 +++++--------------
 devel/py-wheel/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 17 deletions(-)
Comment 28 Nicola Vitale freebsd_committer freebsd_triage 2023-03-30 08:49:44 UTC
Committed. Thanks to vishwin@ for the PR and antoine@ for the exp-run!
Comment 29 Antoine Brodin freebsd_committer freebsd_triage 2023-03-30 11:28:30 UTC
There is this new failure that happened between the exp-run and the commit:

https://pkg-status.freebsd.org/pb2/data/123i386-default-foo/2023-03-30_09h15m20s/logs/errors/py39-QtPy-2.3.1.log
Comment 30 Nicola Vitale freebsd_committer freebsd_triage 2023-03-30 13:52:34 UTC
(In reply to Antoine Brodin from comment #29)

Maybe we should add devel/py-setuptools to py-wheel (as run-dependency) instead of patching all those ports that fail?
Comment 31 Charlie Li freebsd_committer freebsd_triage 2023-03-30 13:53:24 UTC
(In reply to Nicola Vitale from comment #30)
That was the plan all along, once this landed.