diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-July/006573.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-July/006573.html | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-July/006573.html b/zarb-ml/mageia-dev/2011-July/006573.html new file mode 100644 index 000000000..6701f4d60 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-July/006573.html @@ -0,0 +1,157 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Python Packaging Policy + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Python%20Packaging%20Policy&In-Reply-To=%3C20110713071306.GA23669%40sisay.ephaone.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="006554.html"> + <LINK REL="Next" HREF="006576.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Python Packaging Policy</H1> + <B>Michael scherer</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Python%20Packaging%20Policy&In-Reply-To=%3C20110713071306.GA23669%40sisay.ephaone.org%3E" + TITLE="[Mageia-dev] Python Packaging Policy">misc at zarb.org + </A><BR> + <I>Wed Jul 13 09:13:06 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="006554.html">[Mageia-dev] Python Packaging Policy +</A></li> + <LI>Next message: <A HREF="006576.html">[Mageia-dev] Python Packaging Policy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6573">[ date ]</a> + <a href="thread.html#6573">[ thread ]</a> + <a href="subject.html#6573">[ subject ]</a> + <a href="author.html#6573">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Tue, Jul 12, 2011 at 03:03:46PM +0200, philippe makowski wrote: +><i> Hi, +</I>><i> +</I>><i> remember this first draft (<A HREF="http://mageia.org/wiki/doku.php?id=python_policy">http://mageia.org/wiki/doku.php?id=python_policy</A>) +</I>><i> that is still a draft +</I>><i> +</I>><i> now we have also Python3 so we really need to write our policy +</I>><i> I see mainly two majors points : +</I>><i> +</I>><i> 1/ pyc, pyo management +</I>><i> 2/ having Python2 and Python3 +</I>><i> +</I>><i> about 1/ : +</I>><i> it seems that the best would be to package only py (smallest packages) +</I>><i> and having triggers on install and on remove to manage pyc and pyo +</I>><i> (That's in fact the Debian way +</I>><i> (<A HREF="http://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-byte_compilation">http://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-byte_compilation</A>)) +</I>><i> +</I>><i> if we go this way, we need someone to write triggers and people to +</I>><i> review all Python packages +</I>><i> (I'm ok to work on that review, for triggers, I have no clue on how to +</I>><i> do, but may be that with some help I could try) +</I> +The tricky part was not to make sure that file are properly ghosted ? + +><i> about 2/ : +</I>><i> +</I>><i> again we have to review all Python packages to see if they run under +</I>><i> Python3 or not and to package them for Python2 and Python3 +</I>><i> (I'm ok to work on that review) +</I>><i> may be that the Fedora policy can help us for that ?: +</I>><i> <A HREF="http://fedoraproject.org/wiki/Packaging/Python">http://fedoraproject.org/wiki/Packaging/Python</A> +</I> +I would be in favor of treating python2 and python 3 as 2 differents languages. +The rational is that : +- we cannot garantee to have support for both +- we will likely have some module who would be updated only on +python 3 sooner or later +- we will need to do upgrade of package at different time, since both python2 and python3 are +released at different time. + +So rather than a complex scheme that will confuse packagers, just consider they +are separate, and use the almost same policy ( with s/python/python3/ ) + +Regarding a review of all package, that sound like daunting task :/ +-- +Michael Scherer +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="006554.html">[Mageia-dev] Python Packaging Policy +</A></li> + <LI>Next message: <A HREF="006576.html">[Mageia-dev] Python Packaging Policy +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6573">[ date ]</a> + <a href="thread.html#6573">[ thread ]</a> + <a href="subject.html#6573">[ subject ]</a> + <a href="author.html#6573">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |