I'm intrigued. I thought this was merely so that one could do
python -m mypackage.mysubpackage
Can you refer me to the rationale and discussion about this feature?
K
From: Nick Coghlan [mailto:ncogh...@gmail.com]
Sent: 18. nóvember 2012 11:25
To: Kristján Valur Jónsson
Cc: Christian Tismer;
On Tue, Nov 20, 2012 at 7:06 PM, Kristján Valur Jónsson
krist...@ccpgames.com wrote:
I’m intrigued. I thought this was merely so that one could do
python –m mypackage.mysubpackage
Can you refer me to the rationale and discussion about this feature?
It was part of a fairly long
On 20.11.12 12:39, Nick Coghlan wrote:
On Tue, Nov 20, 2012 at 7:06 PM, Kristján Valur Jónsson
krist...@ccpgames.com mailto:krist...@ccpgames.com wrote:
I’m intrigued. I thought this was merely so that one could do
python –m mypackage.mysubpackage
Can you refer me to the
Daniel Holth dholth at gmail.com writes:
Mostly it seems a bit silly to have so much conversations about parts of the
pep that remain unchanged from previously accepted versions...
I don't agree with the suggestion that we shouldn't discuss it because it was
accepted in a previous version.
On Tue, Nov 20, 2012 at 11:45 PM, Christian Tismer tis...@stackless.comwrote:
On 20.11.12 12:39, Nick Coghlan wrote:
On Tue, Nov 20, 2012 at 7:06 PM, Kristján Valur Jónsson
krist...@ccpgames.com wrote:
I’m intrigued. I thought this was merely so that one could do
python –m
On Tue, Nov 20, 2012 at 9:35 AM, Vinay Sajip vinay_sa...@yahoo.co.ukwrote:
Daniel Holth dholth at gmail.com writes:
Mostly it seems a bit silly to have so much conversations about parts of
the
pep that remain unchanged from previously accepted versions...
I don't agree with the
Daniel Holth dholth at gmail.com writes:
If you don't have Provides-Dist, then distribute must continue to bundle an
extra .egg-info directory to emulate the feature. This is more than enough
justification for me. Name: is essentially an alias for Provides-Dist: (or
vice-versa) so there is no
On Wed, Nov 21, 2012 at 1:16 AM, Vinay Sajip vinay_sa...@yahoo.co.ukwrote:
Daniel Holth dholth at gmail.com writes:
If you don't have Provides-Dist, then distribute must continue to bundle
an
extra .egg-info directory to emulate the feature. This is more than
enough
justification for
Nick Coghlan ncoghlan at gmail.com writes:
Provides/Requires/Obsoletes are *not* for bundling. Publishing bundled
packages
on the index is bad, and people shouldn't do it.
[detail snipped]
It's likely fine if an installer doesn't use sophisticated graph
analysis to find the best way to
On Tue, Nov 20, 2012 at 9:44 AM, Nick Coghlan ncogh...@gmail.com wrote:
On Tue, Nov 20, 2012 at 11:45 PM, Christian Tismer
tis...@stackless.comwrote:
On 20.11.12 12:39, Nick Coghlan wrote:
On Tue, Nov 20, 2012 at 7:06 PM, Kristján Valur Jónsson
krist...@ccpgames.com wrote:
I’m
Edit the following text:
Provides-Dist (multiple use)
Each entry contains a string naming a requirement that is satisfied by
installing this distribution. This field *must* include the project
identified in the ``Name`` field, optionally followed by the version Name
(Version).
A distribution
On Wed, Nov 21, 2012 at 2:04 AM, Vinay Sajip vinay_sa...@yahoo.co.ukwrote:
Nick Coghlan ncoghlan at gmail.com writes:
Provides/Requires/Obsoletes are *not* for bundling. Publishing bundled
packages
on the index is bad, and people shouldn't do it.
[detail snipped]
It's likely fine if an
Daniel Holth dholth at gmail.com writes:
Edit the following text:
Okay, here is a possible version:
-
Provides-Dist (multiple use)
Each entry contains a string naming a requirement that is satisfied by
installing this distribution. The entry must consist of a
On Tue, Nov 20, 2012 at 11:49 AM, Vinay Sajip vinay_sa...@yahoo.co.ukwrote:
Also: what happens when a requirement is for setuptools (= X.Y), but the
distribute fork hasn't kept pace, and so only supports setuptools at a
lower
version than X.Y? I take it we're entirely comfortable with
Vinay Sajip reworded the 'Provides-Dist' definition to explicitly say:
The use of multiple names in this field *must not* be used for
bundling distributions together. It is intended for use when
projects are forked and merged over time ...
(1) Then how *should* the
On 11/20/2012 12:46 PM, PJ Eby wrote:
On Tue, Nov 20, 2012 at 11:49 AM, Vinay Sajip vinay_sa...@yahoo.co.uk
mailto:vinay_sa...@yahoo.co.uk wrote:
Also: what happens when a requirement is for setuptools (= X.Y),
but the
distribute fork hasn't kept pace, and so only supports
On Tue, Nov 20, 2012 at 3:58 PM, Jim J. Jewett jimjjew...@gmail.com wrote:
Vinay Sajip reworded the 'Provides-Dist' definition to explicitly say:
The use of multiple names in this field *must not* be used for
bundling distributions together. It is intended for use when
projects are
On Tue, Nov 20, 2012 at 4:07 PM, Glenn Linderman v+pyt...@g.nevcal.comwrote:
On 11/20/2012 12:46 PM, PJ Eby wrote:
I personally don't think that forks claiming to provide something is
really a good thing to encourage; ISTM that saying a package *conflicts*
with another is more accurate,
On Tuesday, November 20, 2012 at 4:48 PM, PJ Eby wrote:
Words
I agree that obsoletes is terrible, it's very specific and not something we
particularly require. I'd much rather just have a generic conflicts. ___
Python-Dev mailing list
I think the Metadata 1.1 treatment of these concepts is in some ways
better. (Metadata 1.2 added the -Dist suffix to the fields in an attempt to
make it clear that dependency names are PyPI names and not import x
names.)
http://www.python.org/dev/peps/pep-0314/ says:
Provides (multiple use)
Should you also insert None into sys.path_importer_cache to signify there
is no finder for the path entry? I guess the real problem with that is
there is no guarantee the path entry is hashable, so that probably won't
work. So nevermind. =)
On Tue, Nov 20, 2012 at 3:35 PM, barry.warsaw
Daniel Holth dholth at gmail.com writes:
They mean pretty much what the same words mean in RPM and do not need further
bikeshedding.
But isn't it the case that the scenarios are different because in the case of
RPMs, we have a presumed authority which can determine e.g. what obsoletes what,
On Nov 20, 2012, at 05:12 PM, Brett Cannon wrote:
Should you also insert None into sys.path_importer_cache to signify there
is no finder for the path entry? I guess the real problem with that is
there is no guarantee the path entry is hashable, so that probably won't
work. So nevermind. =)
I
On Nov 20, 2012, at 05:35 PM, Terry Reedy wrote:
On 11/20/2012 3:35 PM, barry.warsaw wrote:
for entry in path:
+if not isinstance(entry, (str, bytes)):
+continue
Given that a non-(str,bytes) entry could indicate a programming error, should
a warning be
No. We trust the packages we install, including the way they decide to use the
metadata. A bad package could delete all our files or cause dependency
resolution to fail. Mostly they won't.
Daniel Holth
On Nov 20, 2012, at 5:26 PM, Vinay Sajip vinay_sa...@yahoo.co.uk wrote:
Daniel Holth
On Tue, Nov 20, 2012 at 06:43:32PM -0500, Daniel Holth wrote:
No. We trust the packages we install, including the way they decide to use
the metadata. A bad package could delete all our files or cause dependency
resolution to fail. Mostly they won't.
Agreed. And this is closer to the way
On 11/20/2012 1:48 PM, PJ Eby wrote:
(We've been over this before, the last time this discussion came up on
the Distutils-SIG for a previous Metadata PEP a year or two back, but
here goes)
Thanks. I wasn't over there. Makes it clear that clarifying PEPs to
reflect discussions is a good
On 11/20/12, Daniel Holth dho...@gmail.com wrote:
On Tue, Nov 20, 2012 at 3:58 PM, Jim J. Jewett jimjjew...@gmail.com
wrote:
Vinay Sajip reworded the 'Provides-Dist' definition to explicitly say:
The use of multiple names in this field *must not* be used for
bundling distributions
On Tue, Nov 20, 2012 at 5:01 PM, Daniel Holth dho...@gmail.com wrote:
http://www.python.org/dev/peps/pep-0314/ says:
The most common use of this field will be in case a package name
changes, e.g. Gorgon 2.3 gets subsumed into Torqued Python 1.0.
When you install Torqued
On Tue, Nov 20, 2012 at 9:44 PM, PJ Eby p...@telecommunity.com wrote:
On Tue, Nov 20, 2012 at 5:01 PM, Daniel Holth dho...@gmail.com wrote:
http://www.python.org/dev/peps/pep-0314/ says:
The most common use of this field will be in case a package name
changes, e.g. Gorgon 2.3
On Tue, Nov 20, 2012 at 6:43 PM, Daniel Holth dho...@gmail.com wrote:
No. We trust the packages we install, including the way they decide to use
the metadata. A bad package could delete all our files or cause dependency
resolution to fail. Mostly they won't.
That's sort of beside the point.
On Wed, Nov 21, 2012 at 12:44 PM, PJ Eby p...@telecommunity.com wrote:
Can anybody suggest an *actual* use case for Obsoletes, and explain how
it is supposed to work in software? The last time this discussion came up,
nobody had any use cases that stood up to the how's that actually going to
On Tue, Nov 20, 2012 at 7:18 PM, Jim Jewett jimjjew...@gmail.com wrote:
On 11/20/12, Daniel Holth dho...@gmail.com wrote:
On Tue, Nov 20, 2012 at 3:58 PM, Jim J. Jewett jimjjew...@gmail.com
wrote:
Vinay Sajip reworded the 'Provides-Dist' definition to explicitly say:
The use of
On Wed, Nov 21, 2012 at 1:10 PM, PJ Eby p...@telecommunity.com wrote:
Conversely, if you have already installed a package that says it
Obsoletes another package, this does *not* tell you that the obsolete
package shouldn't still be installed! A replacement project doesn't
necessarily share
Sorry the python issue tracker seems broken (I cannot log in). So I am
posting it here.
In the doc:
operator.attrgetter(attr[, args...])
operator.itemgetter(item[, args...])
operator.methodcaller(name[, args...])
The signatures of these functions seem confusing. ARGS is not documented
and
On Wed, Nov 21, 2012 at 1:20 PM, Nick Coghlan ncogh...@gmail.com wrote:
On Wed, Nov 21, 2012 at 1:10 PM, PJ Eby p...@telecommunity.com wrote:
Conversely, if you have already installed a package that says it
Obsoletes another package, this does *not* tell you that the obsolete
package
Daniel Holth writes:
When I used Obsoletes, it meant I am no longer developing this other
package that is identical to this re-named package.
But as a user I could care less! The authors may care, but I don't
care if Torqued obsoletes Gorgon, because in using Torqued I'm
DTRT'ing even
On Wed, Nov 21, 2012 at 12:00 AM, Stephen J. Turnbull step...@xemacs.orgwrote:
Daniel Holth writes:
When I used Obsoletes, it meant I am no longer developing this other
package that is identical to this re-named package.
But as a user I could care less! The authors may care, but I
PJ Eby writes:
On Wed, Nov 21, 2012 at 12:00 AM, Stephen J. Turnbull
step...@xemacs.orgwrote:
What I care about is when I'm using Gorgon, and there's something
better (or worse, correct) to use in my application.
Hence my suggestion for an Obsoleted-By field, in which Gorgon would
39 matches
Mail list logo