Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 23:18:11 -0500
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        freebsd-python@freebsd.org
Subject:   Re: Proposal: default to concurrent
Message-ID:  <170c35c9-eb37-92b7-3224-54f451f1e21c@FreeBSD.org>
In-Reply-To: <b331f7bb-f258-e157-45bb-20cec74b54f0@saltant.com>
References:  <b331f7bb-f258-e157-45bb-20cec74b54f0@saltant.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--DNWIBClh0mU24Cvhhr2unpO00dtEPVbws
Content-Type: multipart/mixed; boundary="mcd4NCjmhD7HuKmBbpNX7oEJtsex8Vsv5";
 protected-headers="v1"
From: Nikolai Lifanov <lifanov@FreeBSD.org>
To: freebsd-python@freebsd.org
Message-ID: <170c35c9-eb37-92b7-3224-54f451f1e21c@FreeBSD.org>
Subject: Re: Proposal: default to concurrent
References: <b331f7bb-f258-e157-45bb-20cec74b54f0@saltant.com>
In-Reply-To: <b331f7bb-f258-e157-45bb-20cec74b54f0@saltant.com>

--mcd4NCjmhD7HuKmBbpNX7oEJtsex8Vsv5
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 01/29/17 14:08, John W. O'Brien wrote:
> Hello FreeBSD Python,
>=20
> One of the most common problems I encounter with python3
> interoperability is when the concurrent option is needed and can be
> trivially enabled. There is a growing list of bugs where this, on a
> individual port basis, has been fixed ([0], [1]), is in progress ([2],
> [3]), or is in my queue and perhaps others' to submit ([4]). On the
> other hand, there are lots of ports for which concurrent is a no-op, an=
d
> lots more that don't support python3 at all meaning that concurrent has=

> little to no chance to cause harm.
>=20
> What I propose is to enable the concurrent behavior by default and to
> provide a feature to disable it when necessary.
>=20
> I welcome supportive and dissenting comments as well as cautionary
> remarks about the likely pitfalls of pursuing this.
>=20
> <snark>
> While it would be tempting to call the new feature something
> unflattering like "i_hate_python3" or "archaic_upstream" or
> "regressive", the most natural name is probably just "noconcurrent".
> </snark>
>=20
> Regards,
> John
>=20
> [0] textproc/py-xlrd: Allow concurrent installs
>     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209689
> [1] [PATCH] textproc/py-xlsxwriter: Enable concurrent installs
>     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215331
> [2] textproc/py-pygments: add concurrent to USE_PYTHON
>     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214295
> [3] math/py-bottleneck: bump to 1.20, install concurrently
>     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215263
> [4] devel/py-boto, devel/py-tables, devel/pep8, devel/flake8
>=20

I think the biggest controversy is that binary names are suffixed, which
may not be what upstream projects like and/or document.
It may be confusing to users as well.

If we can get rid of the suffix for PYTHON_CONCURRENT_INSTALL for
whichever version is PYTHON_DEFAULT, it should be a net positive to
treat it the same way we did USE_GCC in the past (enable
PYTHON_NO_CONCURRENT or something and remove it on per-port basis once
fixed).

- Nikolai Lifanov


--mcd4NCjmhD7HuKmBbpNX7oEJtsex8Vsv5--

--DNWIBClh0mU24Cvhhr2unpO00dtEPVbws
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKoBAEBCgCSFiEE5oT6TcuaWvG5gtjzZ6sv56ecR0UFAliOvohfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU2
ODRGQTREQ0I5QTVBRjFCOTgyRDhGMzY3QUIyRkU3QTc5QzQ3NDUUHGxpZmFub3ZA
ZnJlZWJzZC5vcmcACgkQZ6sv56ecR0WJTQ/9He1FKY6tNzGM8nZn0pr/9SUtsykm
eg6Z/OwxgSgV9p5Tkp4kFlPPLzkconVqESJGy9slhLqFjL1CiG8CfzfY0T2S8IrS
wC9WEzqxTJ4Zo/DYjynH3+usFLBcCANdA5kpsdUW4RAgRk4D6qLuLfAeAuhvNLkO
e5s6oVSwKIZ5Pq0OuTnC3Fqf0dXv7zrxPLh1E8fKEHEKj25LYA15tCUFTLghFTg8
wUWjKa6fQ+Tzjs1nFk4vOfsmVyQigwqCOQbfEyqcEEPS5UHrfwBTjJows+DpqtSX
pzFSnSqYvYgWep6/yP1s2mEAjEvwD3Bj3q522fOF4FoQlx2l7Ai6+oA0vvqwzHXJ
lL2jmTn96jwXeQ8hP/L7DoqRcjJNykJjz5HebzrCijvW+7DjRyQvTV6in+4SPYgZ
jr/lUuRgdYL6cyf/JZliWixVL71Aq2gFE6PBNzF+JZkLcsfQY02PM8nSEm0S52j+
iCoxFlSstUPmqCy4ksgexHxXfyStG5TbBHqamVD2vuZwFOtT5r2xi3RkuWgKzaus
f8vcNaQnVnko2+mXN8nsaXHSGs2W5m5YUwlvNeJM6PDkdRNjBDM1WUCffIeAkbiE
qo+IjtwnFxb24vyb01L0HWG1Miq4vEy14IMlbzAZNr/CtnZqDnnTQtgoCC3NMaVi
z7Xf+Z2q/l6mlLU=
=5BwE
-----END PGP SIGNATURE-----

--DNWIBClh0mU24Cvhhr2unpO00dtEPVbws--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?170c35c9-eb37-92b7-3224-54f451f1e21c>