Page MenuHomeFreeBSD

devel/py-setuptools: update to 80.9.0
Needs ReviewPublic

Authored by vishwin on Aug 6 2024, 2:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 6:51 PM
Unknown Object (File)
Wed, Oct 8, 5:16 PM
Unknown Object (File)
Mon, Oct 6, 7:33 AM
Unknown Object (File)
Sun, Oct 5, 10:41 AM
Unknown Object (File)
Thu, Oct 2, 3:20 PM
Unknown Object (File)
Sep 15 2025, 8:21 PM
Unknown Object (File)
Sep 14 2025, 12:14 PM
Unknown Object (File)
Sep 11 2025, 4:14 AM

Details

Reviewers
None
Group Reviewers
Python
Summary

Convert to USE_PYTHON=pep517, at least so it can build on Python 3.12+. Remove old cruft in the process.

Since 71.0.0, dependencies can be de-vendored. Those listed under [core] that do not introduce circular dependencies are de-vendored accordingly.

Test capability to possibly return later.

Test Plan

exp-run after dependent PRs, see PR 270358

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 64464
Build 61348: arc lint + arc unit

Event Timeline

vishwin created this revision.
vishwin retitled this revision from devel/py-setuptools: update to 72.1.0 to devel/py-setuptools: update to 74.0.0.Aug 28 2024, 12:26 AM

devel/py-setuptools: update to 75.1.0

vishwin retitled this revision from devel/py-setuptools: update to 74.0.0 to devel/py-setuptools: update to 75.1.0.Sep 17 2024, 1:48 AM
  • devel/py-setuptools: update to 75.3.0

75.5.0 is the latest upstream but drops support for Python 3.8 and requires devel/packaging 24.2 starting 75.4.0

devel/py-setuptools/Makefile
2

Upstream is at 75.8.0

19

portclippy --strict, warns about Unknown variables, and recommends prefixing with an underscore.

22–46

portclippy --strict, suggests moving ${CPE_VENDOR} between ${USES} and ${USE_PYTHON}.

49

portfmt -U, suggests alphabetically sorting these, and to move more-itertools above packaging.

58

All this could be handled with ${EXTRACT_AFTER_ARGS}, which would the disk IO altogether too.

devel/py-setuptools/Makefile
58

avoid the disk IO

Suggestions poudriere-testport devel/py-setuptools:
main-amd64-default: Pass
main-i386-default: Pass
13_4-amd64-release: Pass
13_4-i386-release: Pass
14_1-amd64-release: Pass
14_1-i386-release: Pass
14_2-amd64-release: Pass
14_2-i386-release: Pass

Local patch has more changes, converting ${CORE_DEPENDS} to ${_CORE_DEPENDS} in the if/else/endif, and the commented blocks.

devel/py-setuptools/Makefile
19

`BUILD_DEPENDS= ${_CORE_DEPENDS}
RUN_DEPENDS= ${_CORE_DEPENDS}`

21–22

`

EXTRACT_AFTER_ARGS= ${_DIST_EXCLUDES:S,^,--exclude setuptools/_vendor/,}

`

49

`_CORE_DEPENDS= ${PYTHON_PKGNAMEPREFIX}more-itertools>=8.8:devel/py-more-itertools@${PY_FLAVOR} \

${PYTHON_PKGNAMEPREFIX}packaging>=24.2:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0.43.0:devel/py-wheel@${PY_FLAVOR}

_DIST_EXCLUDES= importlib_metadata* importlib_resources* more_itertools* \

packaging* tomli* wheel* zipp*`
devel/py-setuptools/Makefile
2

This has to stay at 75.3 for now as Python 3.8 is still in the tree, all later versions drop support

49

Intentionally in this order for easier syncing with [core] under pyproject.toml

vishwin retitled this revision from devel/py-setuptools: update to 75.1.0 to devel/py-setuptools: update to 75.3.2.Mar 13 2025, 5:28 PM
  • update to 75.3.2

implement several comments, TEST_DEPENDS to be added later

  • devel/py-setuptools: update to 78.1.0

back to tracking the latest after Python 3.8 removal

vishwin retitled this revision from devel/py-setuptools: update to 75.3.2 to devel/py-setuptools: update to 78.1.0.Mar 31 2025, 5:45 PM
vishwin retitled this revision from devel/py-setuptools: update to 78.1.0 to devel/py-setuptools: update to 80.2.0.May 3 2025, 5:13 PM
vishwin retitled this revision from devel/py-setuptools: update to 80.2.0 to devel/py-setuptools: update to 80.3.0.
vishwin retitled this revision from devel/py-setuptools: update to 80.3.0 to devel/py-setuptools: update to 80.9.0.May 27 2025, 5:59 PM