Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2019 22:39:09 -0400 (EDT)
From:      AN <andy@neu.net>
To:        freebsd-ports@freebsd.org
Subject:   need help with python
Message-ID:  <alpine.BSF.2.21.9999.1907042227110.76421@mail.neu.net>

next in thread | raw e-mail | index | archive | help
Hi:

I would appreciate some help, having a problem updating because of python.

FreeBSD FBSD_13 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r349192: Wed Jun 19 
10:18:31 EDT 2019 
root@FBSD_13:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL  amd64 1300032

I have the following installed:

py27-MarkupSafe-1.1.1          Implements XML/HTML/XHTML Markup safe 
string for Python
py27-alabaster-0.7.6           Modified Kr Sphinx theme
py27-asn1crypto-0.22.0         ASN.1 library with a focus on performance 
and a pythonic API
py27-beaker-1.10.1             Session and Caching library with WSGI 
Middleware
py27-cairo-1.14.1              Python 2 bindings for Cairo
py27-certifi-2019.3.9          Mozilla SSL certificates
py27-cffi-1.12.2               Foreign Function Interface for Python 
calling C code
py27-cryptography-2.6.1        Cryptographic recipes and primitives for 
Python developers
py27-dbus-1.2.8                Python bindings for the D-BUS messaging 
system
py27-dnspython-1.16.0          DNS toolkit for Python
py27-docutils-0.14_4           Python Documentation Utilities
py27-enum34-1.1.6              Python 3.4 Enum backported to 3.3, 3.2, 
3.1, 2.7
py27-funcsigs-1.0.2            Python function signatures from PEP362
py27-gobject-2.28.6_8          Python bindings for GObject
py27-gobject3-3.28.3           Common files for the Python bindings for 
GObject
py27-gtk2-2.24.0_5             Set of Python bindings for GTK+
py27-idna-2.8                  Internationalized Domain Names in 
Applications (IDNA)
py27-imagesize-0.7.1           Python image size library
py27-ipaddress-1.0.22          Port of Python 3.3+ ipaddress module to 2.7
py27-iso8601-0.1.11            Simple module to parse ISO 8601 dates
py27-libxml2-2.9.8_2           Python interface for XML parser library for 
GNOME
py27-lxml-4.3.1                Pythonic binding for the libxml2 and 
libxslt libraries
py27-mako-1.0.12               Super-fast templating language in Python
py27-openssl-18.0.0            Python interface to the OpenSSL library
py27-pycparser-2.18            C parser in Python
py27-pygments-2.3.0_1          Syntax highlighter written in Python
py27-pyrex-0.9.9_1             Programming Language for writing Python 
extension modules
py27-pysocks-1.6.8             Python SOCKS module
py27-pystemmer-1.3.0_2         Snowball Stemming Algorithms for 
Information Retrieval
py27-pytest-runner-2.11.1      Test support for pytest runner in setup.py
py27-pytz-2018.9,1             World Timezone Definitions for Python
py27-qt5-dbussupport-5.12.1    Qt event loop support for dbus-python
py27-setuptools-40.8.0_1       Python packages installer
py27-setuptools_scm-3.1.0      Setuptools plugin to manage your versions 
by scm tags
py27-six-1.12.0                Python 2 and 3 compatibility utilities
py27-snowballstemmer-1.2.0_1   Snowball stemming library collection for 
Python
py27-sphinx_rtd_theme-0.4.3    Mobile-friendly py-sphinx theme
py27-sphinxcontrib-websupport-1.1.0 Sphinx API for Web Apps
py27-sqlite3-2.7.16_7          Standard Python binding to the SQLite3 
library (Python 2.7)
py27-typing-3.6.6              Type Hints for Python
py27-urllib3-1.22,1            HTTP library with thread-safe connection 
pooling, file post, and more
py36-Babel-2.7.0               Collection of tools for internationalizing 
Python applications
py36-CommonMark-0.9.0          Python parser for the CommonMark Markdown 
spec
py36-Jinja2-2.10.1             Fast and easy to use stand-alone template 
engine
py36-MarkupSafe-1.1.1          Implements XML/HTML/XHTML Markup safe 
string for Python
py36-alabaster-0.7.6           Modified Kr Sphinx theme
py36-asn1crypto-0.22.0         ASN.1 library with a focus on performance 
and a pythonic API
py36-beaker-1.10.1             Session and Caching library with WSGI 
Middleware
py36-cairo-1.14.1              Python 2 bindings for Cairo
py36-certifi-2019.6.16         Mozilla SSL certificates
py36-cffi-1.12.3               Foreign Function Interface for Python 
calling C code
py36-chardet-3.0.4_1           Universal encoding detector for Python 2 
and 3
py36-cryptography-2.6.1        Cryptographic recipes and primitives for 
Python developers
py36-cython-0.29_1             Compiler for Writing C Extensions for the 
Python Language
py36-dbus-1.2.8                Python bindings for the D-BUS messaging 
system
py36-docutils-0.14_4           Python Documentation Utilities
py36-evdev-0.8.1               Bindings to the Linux input handling 
subsystem
py36-future-0.17.1_1           Clean single-source support for Python 3 
and 2
py36-gobject3-3.28.3           Common files for the Python bindings for 
GObject
py36-idna-2.8                  Internationalized Domain Names in 
Applications (IDNA)
py36-imagesize-0.7.1           Python image size library
py36-iso8601-0.1.12            Simple module to parse ISO 8601 dates
py36-libxml2-2.9.9             Python interface for XML parser library for 
GNOME
py36-lxml-4.3.3                Pythonic binding for the libxml2 and 
libxslt libraries
py36-mako-1.0.11               Super-fast templating language in Python
py36-olefile-0.46              Python module to read MS OLE2 files
py36-openssl-18.0.0            Python interface to the OpenSSL library
py36-pillow-6.0.0_1            Fork of the Python Imaging Library (PIL)
py36-pycparser-2.18            C parser in Python
py36-pygments-2.4.1            Syntax highlighter written in Python
py36-pyparsing-2.4.0           General parsing module for Python
py36-pysocks-1.7.0             Python SOCKS module
py36-pystemmer-1.3.0_2         Snowball Stemming Algorithms for 
Information Retrieval
py36-pytest-runner-2.11.1      Test support for pytest runner in setup.py
py36-pytz-2019.1,1             World Timezone Definitions for Python
py36-pyudev-0.21.0             Pure Python libudev binding
py36-qt5-core-5.12.2           Python bindings for the Qt5 toolkit, QtCore 
module
py36-qt5-dbussupport-5.12.2    Qt event loop support for dbus-python
py36-qt5-gui-5.12.2            Python bindings for the Qt5 toolkit, QtGui 
module
py36-qt5-widgets-5.12.2        Python bindings for the Qt5 toolkit, 
QtWidgets module
py36-requests-2.21.0           HTTP library written in Python for human 
beings
py36-setuptools-41.0.1         Python packages installer
py36-setuptools_scm-3.3.3      Setuptools plugin to manage your versions 
by scm tags
py36-sip-4.19.17,1             Python to C and C++ bindings generator
py36-six-1.12.0                Python 2 and 3 compatibility utilities
py36-snowballstemmer-1.2.0_1   Snowball stemming library collection for 
Python
py36-sphinx-1.6.5_2,1          Python documentation generator
py36-sphinx_rtd_theme-0.4.3    Mobile-friendly py-sphinx theme
py36-sphinxcontrib-websupport-1.1.2 Sphinx API for Web Apps
py36-sqlite3-3.6.8_7           Standard Python binding to the SQLite3 
library (Python 3.6)
py36-tkinter-3.6.8_6           Python bindings to the Tk widget set 
(Python 3.6)
py36-urllib3-1.22,1            HTTP library with thread-safe connection 
pooling, file post, and more

I do not use python directly, only as dependencies.  It seems python36 is 
default now.  What is the correct procedure to set ports to use python36 
so I can safely delete python27?

UPDATING has this entry which does not seem to explain well what is 
necessary:
20190410:
   AFFECTS: users of python
   AUTHOR: antoine@FreeBSD.org

   Default version of python was switched to 3.6.

   For ports users wanting to keep version 2.7 as default,
   add DEFAULT_VERSIONS+= python=2.7 to make.conf

I do not want to keep python=2.7, I just want what the default version is 
currently.  Any help is appreciated, thanks in advance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.9999.1907042227110.76421>