Page MenuHomeFreeBSD

[NEW] devel/py-setuptools44: Download, build, install, upgrade, and uninstall Python packages (Python 2.7)
AbandonedPublic

Authored by AMDmi3 on May 26 2021, 4:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 21, 9:05 PM
Unknown Object (File)
Fri, Apr 12, 3:19 AM
Unknown Object (File)
Jan 29 2024, 8:01 AM
Unknown Object (File)
Jan 29 2024, 8:01 AM
Unknown Object (File)
Jan 29 2024, 8:01 AM
Unknown Object (File)
Jan 27 2024, 6:35 PM
Unknown Object (File)
Jan 12 2024, 3:03 PM
Unknown Object (File)
Dec 21 2023, 8:40 PM

Details

Reviewers
koobs
Group Reviewers
Python
portmgr
Summary
[NEW] devel/py-setuptools44: Download, build, install, upgrade, and uninstall Python packages (Python 2.7)

- Copy devel/py-setuptools to devel/py-setuptools44 (for Python 2.7 support)
- Update devel/py-setuptool to 57.0.0 (Supports Python 3.10)
- Update Mk/Uses/python.mk to use dfevel/ setuptools44 for Python 2.7 

This allows us to have latest setuptools and working Python 3.10
without breaking packages requiring Python 2 support for remaining reports
that require it

Reviewed_by: koobs (python)
Approved by: koobs (python)
Differential_Revision: D30473
Test Plan

Tested by successfully building some ports which still require
python2 & module, such as mailman

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 39480
Build 36369: arc lint + arc unit

Event Timeline

sunpoet added inline comments.
devel/py-setuptools44/Makefile
19

Can we use python:2.7 here since Python 3.6 or above should use devel/py-setuptools instead. It also avoids CONFLICTS_INSTALL.

Limit py-setuptools44 with python 2.7 only

koobs retitled this revision from devel/py-setuptools44: preserve older setuptools for python2 to [NEW] devel/py-setuptools44: Download, build, install, upgrade, and uninstall Python packages (Python 2.7).May 31 2021, 2:07 AM
koobs edited the summary of this revision. (Show Details)
koobs removed a reviewer: portmgr.

portmgr is not blocking. If this needs extra QA (exp-run), request via Bugzilla

devel/py-setuptools44/files/easy-install.pth.dist
1

Can you add a comment header for this to describe what its for.

AMDmi3 added inline comments.
devel/py-setuptools44/files/easy-install.pth.dist
1

I have no idea. This was copied from setuptools.

koobs edited the summary of this revision. (Show Details)
koobs removed a reviewer: portmgr.
This revision is now accepted and ready to land.Jun 1 2021, 1:36 AM
This revision now requires review to proceed.Jun 1 2021, 1:36 AM

What are the failure mode(s) or are they the same for all of the above?

What are the failure mode(s) or are they the same for all of the above?

The same, they all use deprecated and removed distutils.Feature.