Re: F28 Self Contained Change: Avoid /usr/bin/python in RPM build

2018-01-09 Thread Nick Coghlan
etup. Cheers, Nick. P.S. Using a dedicated environment variable would have the advantage of allowing anyone else that *also* wanted to look for and remove unqualified references to Python 2 to set it. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia ___

Re: Minor schedule procedure tweak (rain dates and such)

2017-11-13 Thread Nick Coghlan
Final Target 2: fallback release target if Beta Target 1 and/or Final Target 1 are missed Regards, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Re: Module Stream "Expansion"

2017-09-01 Thread Nick Coghlan
On 31 August 2017 at 22:09, Matthew Miller wrote: > On Thu, Aug 31, 2017 at 08:11:56PM +1000, Nick Coghlan wrote: >> > I'd think the solution is simply to mark your module with "Service >> > Level: alpha" (and then we'd want some tooling where SL-alpha

Re: Module Stream "Expansion"

2017-08-31 Thread Nick Coghlan
On 30 August 2017 at 21:56, Matthew Miller wrote: > On Wed, Aug 30, 2017 at 07:43:21PM +1000, Nick Coghlan wrote: >> As a concrete example, the upstream Python 3.7 alpha & beta cycle will >> be running in parallel with the F28 development cycle. It would be >> beneficial

Re: Module Stream "Expansion"

2017-08-30 Thread Nick Coghlan
e you'd be able to do things like "tags: [f26, f27]" (for example) to indicate that a stream was the default in particular versions of Fedora. For ease of adoption of stream expansion, there could also be a notion of making "active" an implied tag for any n

Re: Mass package change (python2- binary package renaming)

2017-08-10 Thread Nick Coghlan
n3.6 lib directories 4. Categorise as an application if neither 2 nor 3 apply If it works in practice, such an approach would also help pick up cases like libvirt-python, where a Py3 RPM exists, but isn't called "python3-". Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com

Re: Finalizing Fedora's Switch to Python 3

2017-08-06 Thread Nick Coghlan
uns Python 3). For that to be supportable, we need *distro* packages to always specify either python2 or python3 (otherwise they'll break in the "not specified" configuration, or when the alias points to the "wrong" version). Cheers, Nick. -- Nick Cog

Re: Finalizing Fedora's Switch to Python 3

2017-07-31 Thread Nick Coghlan
that's closer to the question of "compatibility of both /bin/sh *and* the default contents of PATH" than it is pure syntactic compatibility, but the six compatibility library provides most of the necessary pieces. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Au

Re: Finalizing Fedora's Switch to Python 3

2017-07-31 Thread Nick Coghlan
hon3 SRPM) pointed it at python3. Cheers, Nick. P.S. After talking to Petr Viktorin about it off-list, I *don't* think we should do anything similar for the unqualified "python-foo" RPM dependencies - once the Python 2.7 stack goes away, those unqualified provides can disappear alon

Re: Finalizing Fedora's Switch to Python 3

2017-07-31 Thread Nick Coghlan
On 31 July 2017 at 05:19, Björn Persson wrote: > Mathieu Bridon wrote: >> On Mon, 2017-07-31 at 00:02 +1000, Nick Coghlan wrote: >> > So that's effectively a hard design constraint for me: folks >> > targeting EL6 and EL7 *are* going to have to use "/usr/bi

Re: Finalizing Fedora's Switch to Python 3

2017-07-30 Thread Nick Coghlan
of the unqualified variant to shift slightly such that "/usr/bin/python" is taken to mean "written in the oldest Python dialect that is still actively supported by upstream and/or commercial vendors (or potentially even older than that)" while "/usr/bin/python3" retains i

Re: Finalizing Fedora's Switch to Python 3

2017-07-28 Thread Nick Coghlan
age maintainers and increases the opportunity > for errors. Aye, I agree we should be actively seeking to make single-spec feasible across Fedora/RHEL/CentOS, at least in combination with EPEL (without the EPEL dependency, it's hard to consistently make new Fedora level macro definitions avai

Re: Finalizing Fedora's Switch to Python 3

2017-07-28 Thread Nick Coghlan
odular Server should look like yet, let alone a "default-python" module that controls what "/usr/bin/python" refers to. However, it seems to me that an approach like that *should* work, so it's an idea I'm going to pursue until we either having a working "C

Re: Finalizing Fedora's Switch to Python 3

2017-07-28 Thread Nick Coghlan
such that the error also suggests directly how to fix it), and there are various other things we can consider to help smooth the transition (like providing the "six" and "future" compatibility modules by default in both our Python 2 and Python 3 stacks in order t

Re: Finalizing Fedora's Switch to Python 3

2017-07-28 Thread Nick Coghlan
alified description and files sections A script like that may even do a tolerable job for packages that *do* offer Python 3 subpackages (since those will already have qualifiers, and will necessarily appear after any unqualified runtime and build requirements for

Re: [Modularity] A proposal for stream naming

2017-07-07 Thread Nick Coghlan
finition has a long history in the standards world (including language standards like C89 and C++11) In that context, a stream label like "cy2017" would just mean "initial version set defined in calendar year 2017", while "cm201706" (for "calendar month"

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-07-03 Thread Nick Coghlan
On 3 July 2017 at 02:04, Stephen John Smoogen wrote: > On 1 July 2017 at 21:42, Nick Coghlan wrote: >> On 1 July 2017 at 03:36, Adam Williamson wrote: >>> On Fri, 2017-06-30 at 12:07 +1000, Nick Coghlan wrote: >>>> Even if a 4.0 does happen, the magnitude

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-07-01 Thread Nick Coghlan
On 1 July 2017 at 03:36, Adam Williamson wrote: > On Fri, 2017-06-30 at 12:07 +1000, Nick Coghlan wrote: >> Even if a 4.0 does happen, the magnitude of the change relative to the >> preceding 3.x release is expected to be comparable to that between any >> given 3.x and

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-06-29 Thread Nick Coghlan
3 (and that's what the migration strategy proposed in https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 accomplishes). Keep in mind that if we translate the target releases on the wiki page to calendar dates: * Fedora 30 ~= first half of 2019 * Fedora 32 ~= first half of 2

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-06-28 Thread Nick Coghlan
_prefix), and either leave the latter undefined for systems with no native Py3 stack, or else set it to rely on EPEL, IUS, or a suitable software collection. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-06-22 Thread Nick Coghlan
On 22 June 2017 at 12:54, Neal Gompa wrote: > On Wed, Jun 21, 2017 at 10:25 PM, Nick Coghlan wrote: >> 1. How to modify a package to explicitly declare it as "Python 2 only" >> (and the need for a "BuildRequires: epel-rpm-macros" to reliably get >> ac

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-06-22 Thread Nick Coghlan
proposed, just with more explicit guidance on how to handle that request in a relatively easy to maintain way :) Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-06-21 Thread Nick Coghlan
ound it that give maintainers more specific directions regarding what they need to do, rather than requiring them to figure out the necessary changes for themselves by reading through the updated packaging policy and then comparing it to their current spec files. Cheers, Nick. -- Nick Coghlan |

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-06-21 Thread Nick Coghlan
it's not allowed, even though it's at least arguably the most future-proof way to design a spec file (and definitely the easiest variant to keep consistent across OS versions at a spec file level). Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-06-20 Thread Nick Coghlan
On 20 June 2017 at 12:44, Nick Coghlan wrote: > On 20 June 2017 at 02:49, Przemek Klosowski > wrote: >> It seems to me that there are two kinds of Python packages affected by this >> issue: some track the evolution of the ecosystem and make sure they work >> with both P

Re: Proposed Mass Bug Filing: Renaming "python-" binary packages to "python2-"

2017-06-19 Thread Nick Coghlan
been keeping up with their Python 3 compatibility checking only need to change one thing (i.e. switching their build dependency to Python 3 rather than Python 2), rather than everything. The only folks that would need to make sweeping changes to their dependency declarations are those whose

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-05-01 Thread Nick Coghlan
On 2 May 2017 at 09:36, Nico Kadel-Garcia wrote: > On Mon, May 1, 2017 at 9:14 AM, Nick Coghlan wrote: >> On 1 May 2017 at 22:47, Nico Kadel-Garcia wrote: >>> On Sun, Apr 30, 2017 at 10:30 PM, Nick Coghlan wrote: >>>> If the intended benefit of this change r

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-05-01 Thread Nick Coghlan
On 1 May 2017 at 22:47, Nico Kadel-Garcia wrote: > On Sun, Apr 30, 2017 at 10:30 PM, Nick Coghlan wrote: >> If the intended benefit of this change remains unclear, it may help to >> focus on a specific concrete case, which would be that the following >> operations

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-30 Thread Nick Coghlan
ocal/ split helps there as well, by making the installed-via-pip versions easier to identify even without checking the PEP 376 installation metadata) Cheers, Nick. [1] https://www.slideshare.net/ncoghlan_dev/developing-in-python-on-red-hat-platforms-devnation-2016 -- Nick Coghlan | ncogh...@gmail

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Nick Coghlan
On 28 April 2017 at 00:07, Stephen John Smoogen wrote: > On 27 April 2017 at 02:32, Nick Coghlan wrote: >> At this moment, this is NOT true for Fedora and derivatives. Instead, >> the remediation step here is "sudo pip uninstall X && sudo dnf >> reinstall "

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Nick Coghlan
On 27 April 2017 at 23:04, Daniel P. Berrange wrote: > On Thu, Apr 27, 2017 at 04:32:09PM +1000, Nick Coghlan wrote: >> Their approach means that any harm caused by "sudo pip install X" can >> subsequently be fully reversed by doing "sudo pip uninstall X". >

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-27 Thread Nick Coghlan
e in terms of existing container and system package build processes, but also have to provide sensible behaviour on non-Linux systems (see [1] for the gory details). Cheers, Nick. [1] https://github.com/pypa/pip/issues/1668 -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-26 Thread Nick Coghlan
and `python-pip`, and the venv module is patched to convert the system level pip back into a wheel archive, which it then installs into the created virtual environments. It's definitely not pretty, but it works. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, A

Re: What is your opinion on "sudo pip" fix for Fedora 27?

2017-04-26 Thread Nick Coghlan
al system pip modules. It *does not belong* in > /usr/lib. Because the components are modular and bundled in a non-RPM > compatible fashion, it behooves developers to use a tool to segregate > the tools as much as feasible from the Fedora underlying > infrastructu

Re: upstream dev. asks suggestions about howto make packagers work easier (bundled libraries, etc.)

2016-11-26 Thread Nick Coghlan
deployment rather than redistribution, and hence can (and usually should) pin the exact combination of dependencies that was tested. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia ___ devel mailing list -- devel@lis

Re: including EOL and vulnerable software in Fedora

2016-10-11 Thread Nick Coghlan
g utilities can be a module!", and we'll see both tox and the additional Python runtimes move to that maintenance model. In the long run, that's almost certainly a good idea. Today though, the best possible developer experience that Fedora can provide is for "dnf install tox&qu

Re: including EOL and vulnerable software in Fedora

2016-10-08 Thread Nick Coghlan
onal dependency flow between Fedora and RHEL/CentOS). However, I'm also a strong +1 for making tox work well by default in Fedora, and that means providing widely used Python runtime versions, even if they're officially EOL upstream and now only supported by redistributors. Cheers, Nick. -- Ni

Re: Proposal to reduce anti-bundling requirements

2015-09-14 Thread Nick Coghlan
system packages. Containers also help a lot here, as we can use a layered model where we use the system package manager to install the language runtime, and then the runtime plugin manager (which is effectively what pip, gem, maven, npm, etc are) to install the language level components. Regards, N

Re: [Fedora-packaging] Proposal to reduce anti-bundling requirements

2015-09-13 Thread Nick Coghlan
quot; model, where folks put a package up in COPR with bundled components, and then either keep it there indefinitely, or collaborate with others on the unbundling effort. Regards, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia -- devel mailing li

Re: Agenda for Env-and-Stacks WG meeting (2015-08-20)

2015-08-20 Thread Nick Coghlan
uot; week for the E&S meeting time, but for next week, I'm hoping to have some more coherent thoughts relating to the user level package management and package review process redesign topics, updated for a range of discussions we had at Flock last week. Cheers, Nick. -- Nick Coghlan

Re: Fedora developer portal - proof of concept

2015-07-24 Thread Nick Coghlan
On 23 Jul 2015 01:17, "Adam Samalik" wrote: > > Hi everyone, > > I updated the prototype and tried apply your feedback: https://developer-phracek.rhcloud.com/ Very nice! > What I would like to do next? Ideally, if you find some time, I would like to have a session with you, people interested in

Re: Improving our processes for new contributors.

2015-07-20 Thread Nick Coghlan
language specific sections in the proposed developer portal (https://fedoraproject.org/wiki/Websites/Developer) could potentially cover those simple cases, and then provide pointers to the guidelines for handling the more complex cases. Regards, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisba

Re: Sponsor shortage

2015-07-15 Thread Nick Coghlan
efore human reviewers even need to get involved at all. That way potential packagers wouldn't be left in limbo waiting for potential sponsors to provide feedback, and potential sponsors would be able to focus their attention on potential packagers that have already demonstrated

Re: python 3.5 in Fedora?

2015-07-15 Thread Nick Coghlan
nding the change in Rawhide so we get an itemised list of which packages failed to rebuild and the associated mock build logs. Regards, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Investigation of the F23 mass rebuild

2015-07-05 Thread Nick Coghlan
h package review 100% clean, and then the next day go and > edit it to do all sorts of horrible things, and odds are really good > that no one will call me on it. This generally isn't due to malice, but > the rules are complicated and the guidelines long — it's easy for al

Re: Requesting/managing upgrades to beaker.fedoraproject.org

2013-11-04 Thread Nick Coghlan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/05/2013 07:15 AM, Tim Flink wrote: > On Fri, 01 Nov 2013 18:43:32 +1000 Nick Coghlan > wrote: > > On 11/01/2013 05:23 PM, Tim Flink wrote: >>>> I'm fine with either direction for now. My hesitation on >>

Re: Introducing pyp2rpm - A python package to rpm specfile convertor

2012-05-25 Thread Nick Coghlan
o it's a fairly extreme approach to the problem of inconsistent method names that prevent duck-typing. It's generally preferable to use a wrapper class or a custom subclass to adapt between the two APIs at the point of use rather than changing state that can be seen by every other modul