Fwd: [MacPorts] #14342: python25 drops modules by default, but python25 doesn't
js
ebgssth at gmail.com
Sat Feb 16 05:47:03 PST 2008
# Moving from Trac ticket #14342
> No, py25-foo can have different dependencies than py-foo. I don't know
> what you wanted to tell us with this.
I meant if we would change python24 to drop some standard modules like
the current python25 port does, py-foo and py25-foo's dependencies
would be the same.
Not sure this is 100% same but almost the same I assume.
> And there is no problem that we have more py-* ports than py25-* ports. We
> just add what people request. If nobody needs a port, but it is in the
> tree, it is just more work for maintainers. So if you need some port, ask
> for it.
No problem, but Python project now recommend users to use python2.5,
not 2.4. Providing a lot of ports to python25 users would encourage users to
use python2.5. Some people don't bother to write reports even if they want.
I like to add more py25- ports to make python25 looks more *atrractive*.
Forwarded Conversation
Subject: [MacPorts] #14342: python25 drops modules by default, but
python25 doesn't
------------------------
From: MacPorts <trac at macosforge.org>
Reply-To: noreply at macosforge.org
To: ebgssth at gmail.com, macports-tickets at lists.macosforge.org
Cc: mww at macports.org
Date: Sat, Feb 16, 2008 at 11:51 AM
#14342: python25 drops modules by default, but python25 doesn't
-------------------------------+--------------------------------------------
Reporter: ebgssth at gmail.com | Owner:
macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Keywords: python |
-------------------------------+--------------------------------------------
Python2.5 disables common modules by default, but
python2.4 doesn't. See dports/lang/python25/files/patch-setup.py
{{{
# This global variable is used to hold the list of modules to be
disabled.
-disabled_module_list = []
+disabled_module_list =
["zlib","_hashlib","_ssl","_bsddb","_sqlite3","_tkinter","bz2","gdbm","readline","_curses","_curses_panel"]
}}}
IMHO, all python pors should be as similar as they can be.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342>
MacPorts </projects/macports>
Ports system for Mac OS
--------
From: MacPorts <trac at macosforge.org>
Reply-To: noreply at macosforge.org
To: ebgssth at gmail.com, macports-tickets at lists.macosforge.org
Cc: mww at macports.org
Date: Sat, Feb 16, 2008 at 11:52 AM
#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
Reporter: ebgssth at gmail.com | Owner:
macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords: python
--------------------------------+-------------------------------------------
Comment (by ebgssth at gmail.com):
If there's a reason, please make it clear by leaving comments about that
on the patch file.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:1>
[Quoted text hidden]
--------
From: MacPorts <trac at macosforge.org>
Reply-To: noreply at macosforge.org
To: ebgssth at gmail.com, macports-tickets at lists.macosforge.org
Cc: mww at macports.org
Date: Sat, Feb 16, 2008 at 12:02 PM
#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
Reporter: ebgssth at gmail.com | Owner:
macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords: python
--------------------------------+-------------------------------------------
Comment (by raimue at macports.org):
These are provided as seperate ports. For example py25-hashlib, py25-zlib
and others. I don't know what the advantage of that was, but we already
had that discussion once.
Portfile writers should include correct dependencies.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:2>
[Quoted text hidden]
--------
From: MacPorts <trac at macosforge.org>
Reply-To: noreply at macosforge.org
To: ebgssth at gmail.com, macports-tickets at lists.macosforge.org
Cc: mww at macports.org
Date: Sat, Feb 16, 2008 at 12:18 PM
#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
Reporter: ebgssth at gmail.com | Owner:
macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords: python
--------------------------------+-------------------------------------------
Comment (by ebgssth at gmail.com):
I think that's OK, but the thing is python24 doesn't drop these modules.
It's a weird...
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:3>
[Quoted text hidden]
--------
From: MacPorts <trac at macosforge.org>
Reply-To: noreply at macosforge.org
To: ebgssth at gmail.com, macports-tickets at lists.macosforge.org
Cc: mww at macports.org
Date: Sat, Feb 16, 2008 at 12:44 PM
#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
Reporter: ebgssth at gmail.com | Owner:
macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords: python
--------------------------------+-------------------------------------------
Comment (by raimue at macports.org):
If we were going to change this, it would require to change dependencies
in nearly all py-* ports.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:4>
[Quoted text hidden]
--------
From: MacPorts <trac at macosforge.org>
Reply-To: noreply at macosforge.org
To: ebgssth at gmail.com, macports-tickets at lists.macosforge.org
Cc: mww at macports.org
Date: Sat, Feb 16, 2008 at 1:59 PM
#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
Reporter: ebgssth at gmail.com | Owner:
macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords: python
--------------------------------+-------------------------------------------
Comment (by ebgssth at gmail.com):
Replying to [comment:4 raimue at macports.org]:
> If we were going to change this, it would require to change dependencies
in nearly all py-* ports.
Yes, we probably have to check py-ports that was not in py25 ports
{{{
$ port list |egrep -i '^py-' | cut -d" " -f1
| sort -u > py24
$ port list |egrep -i '^py25-' | cut -d" " -f1 | sed 's/^py25/py/' |
sort -u > py25
$ wc -l py2[45]
338 py24
109 py25
447 total
$ comm -2 -3 py24 py25 > py24-only
$ wc -l py24-only
259 py24-only
}}}
How about create py25- ports of all 259 py24 only ports?
To create py25-ports, we need to know the port need zlib or hashlib, which
helps identify this py24 ports should be fixed.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:5>
[Quoted text hidden]
--------
From: MacPorts <trac at macosforge.org>
Reply-To: noreply at macosforge.org
To: ebgssth at gmail.com, macports-tickets at lists.macosforge.org
Cc: mww at macports.org
Date: Sat, Feb 16, 2008 at 6:27 PM
#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
Reporter: ebgssth at gmail.com | Owner:
macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords: python
--------------------------------+-------------------------------------------
Comment (by ebgssth at gmail.com):
From a different point of view, that MacPorts has lots more python2.4
ports
than python2.5's seems weird to me.
(Python 2.5 is the current stable, Python 2.4 series will be no longer
released anymore)
Should I open another ticket about this problem?
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:6>
[Quoted text hidden]
--------
From: MacPorts <trac at macosforge.org>
Reply-To: noreply at macosforge.org
To: ebgssth at gmail.com, macports-tickets at lists.macosforge.org
Cc: mww at macports.org
Date: Sat, Feb 16, 2008 at 9:33 PM
#14342: python25 drops modules by default, but python25 doesn't
--------------------------------+-------------------------------------------
Reporter: ebgssth at gmail.com | Owner:
macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords: python
--------------------------------+-------------------------------------------
Comment (by raimue at macports.org):
Replying to [comment:5 ebgssth at gmail.com]:
> Yes, we probably have to check py-ports that was not in py25 ports
No, py25-foo can have different dependencies than py-foo. I don't know
what you wanted to tell us with this.
And there is no problem that we have more py-* ports than py25-* ports. We
just add what people request. If nobody needs a port, but it is in the
tree, it is just more work for maintainers. So if you need some port, ask
for it.
PS: This kind of discussion would have been better on the mailing list.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14342#comment:7>
[Quoted text hidden]
--------
More information about the macports-dev
mailing list