Contacts

Goals

∞ - Ongoing

↻ - In Progress

☐ - Open

☑ - Done

Other Interesting Things

Tooling Challenges

The upstream Python packaging team has expressed interest in understanding the challenges faced by OS packagers with Python packaging tools. This information will be used to inform ongoing improvements and developments. Please document your experiences below:

Steps to switch the Python default version

  1. A successful exp-run is mandatory
  2. Set the new default version in
    • bsd.ports.default.mk
      • PYTHON3_DEFAULT
    • Uses/python.mk
      • _PYTHON_VERSIONS (retain order of preferred versions)
      • _PYTHON_PORTBRANCH
  3. Bump the PORTREVISION of following ports
    • devel/py-setuptools
    • lang/cython
    • math/py-numpy
  4. Add UPDATING instructions

Legend:

Current instructions are:

TODO for the instructions in UPDATING

Following parts should be added with the next Python switchover:

Refine instructions for Portmaster

With more complex scenarios of installed ports the upgrade might not go smoothly. There have been reported issues if following ports were installed:

There are improved instructions that still needs to be tested thoroughly:

Improved UPDATING instructions for Portmaster

Add clean up instructions

The following is a draft based on a suggestion from ThierryThomas (thierry) to improve the user experience.

Team Python@


CategoryTeam CategoryPorts

Python (last edited 2021-08-30T15:36:59+0000 by FukangChen)