Page MenuHomeFreeBSD

Make USES=python without argument mean 3.6+.
ClosedPublic

Authored by mat on Feb 2 2021, 8:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 22 2024, 6:08 PM
Unknown Object (File)
Jan 14 2024, 2:57 PM
Unknown Object (File)
Jan 8 2024, 8:06 AM
Unknown Object (File)
Jan 2 2024, 10:45 PM
Unknown Object (File)
Dec 30 2023, 9:07 AM
Unknown Object (File)
Dec 20 2023, 6:12 AM
Unknown Object (File)
Nov 7 2023, 5:07 AM
Unknown Object (File)
Nov 6 2023, 4:42 PM
Subscribers

Details

Summary

This is getting us one step further to deorbitting Python 2.7.

Diff Detail

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

Event Timeline

mat requested review of this revision.Feb 2 2021, 8:53 AM

The following ports have to be changed to unbreak bulk -a:

converters/py-webencodings
databases/py-sqlite3
devel/py-Jinja2
devel/py-babel
devel/py-future
devel/py-game_sdl2
devel/py-ply
devel/py-pycparser
devel/py-pytz
devel/py-setuptools
devel/py-setuptools_scm
devel/py-six
devel/py-subversion
devel/scons
dns/py-dnspython
lang/cython
misc/py-tqdm
textproc/py-markupsafe
textproc/py-pygments-25
textproc/py-toml
www/py-html5lib
x11-toolkits/py-tkinter

  • Make USES=python without argument mean 3.6+.
  • Those ports are allowed to build a 2.7 flavor.

The following ports have to be changed to unbreak bulk -a:

Done.

rene added inline comments.
Mk/Uses/python.mk
340

It would also be a good idea to explain this change in the introducery comments at the start of this file.

General question: how are we going to avoid people adding 2.7 support to a port because upstream still supports it?

In D28459#636864, @rene wrote:

General question: how are we going to avoid people adding 2.7 support to a port because upstream still supports it?

I was contemplating a commit hook.

Or just saying something like DON'T DO IT, IF YOU DO, THE PORT WILL BE REMOVED. or something similar and kind.

Fixup doc at the start of python.mk.

mat marked an inline comment as done.Feb 2 2021, 4:59 PM
This revision is now accepted and ready to land.Feb 2 2021, 6:38 PM
This revision was automatically updated to reflect the committed changes.