[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-11-10 Thread Jason R. Coombs

Changes by Jason R. Coombs :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-11-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset e19441e540ca by Jason R. Coombs in branch '3.3':
Issue 19544 and Issue #7457: Restore the read_pkg_file method to 
distutils.dist.DistributionMetadata accidentally removed in the undo of 
distutils2.
http://hg.python.org/cpython/rev/e19441e540ca

New changeset 28059d8b395b by Jason R. Coombs in branch 'default':
Merge with 3.3 for Issue #19544 and Issue #7457
http://hg.python.org/cpython/rev/28059d8b395b

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-11-10 Thread Jason R. Coombs

Changes by Jason R. Coombs :


--
assignee: tarek -> jason.coombs

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-11-10 Thread Jason R. Coombs

Jason R. Coombs added the comment:

As suggested, I created issue19544 to track the larger effort.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-07-08 Thread Ned Deily

Ned Deily added the comment:

There have been a number of issues that have come up over the past few years 
due to Python 3.2+'s distutils being a subset of Python 2.7's as a result of 
the revert (29a3eda89995).  Since circumstances have changed since the decision 
was made to do the revert and distutils isn't going away immediately, I think 
the best thing at this point would be for someone to make a comprehensive 
forward port patch of the current distutils in 2.7 to default for review with 
the goal of having a common base, feature- and bug-wise, for 3.4.  That isn't 
going to solve the problem for those who need to support 3.2, of course, but 
knowing exactly what the differences are at this point might suggest some 
practical solutions, as I expect the differences among 3.2, 3.3, and default 
(3.4) at this point are fewer than the differences between any of them and 2.7. 
 A first step would be to open an issue.

--
nosy: +ned.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-07-08 Thread Jason R. Coombs

Jason R. Coombs added the comment:

I see now, the code was removed in 29a3eda89995.

But the associated comment indicates distutils is feature-frozen and that 
subsequent work should be done in distutils2, which of course is now a defunct 
effort.

Given that information, what's the proper solution for a project that requires 
the ability to read distribution metadata (preferably one that supports Python 
3.2)?

--
nosy: +ncoghlan

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-07-08 Thread Jason R. Coombs

Jason R. Coombs added the comment:

On second thought, the hyperlink for r76706 resolves to d9b4f6ea3e39, which is 
in the default branch since 2009, so apparently the code was present, so I'll 
continue to trace why it went away.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-07-08 Thread Jason R. Coombs

Jason R. Coombs added the comment:

I recently discovered this method is missing from Python 3. I started porting a 
project which depends on it (a tool that uploads an already-packaged package to 
a cheeseshop), but found the method missing on Python 3. According to the 
changelog, this commit landed in 2.7 and 3.2, but when I search the Mercurial 
repo for #7457, it seems it only landed in 2.7 (25aede62fc17). Perhaps the 
change was lost in the migration to Mercurial?

Since this behavior was not intentionally removed from Python 3 and has no 
suitable replacement (afaik), the functionality should be restored in 3.2+, as 
it is a regression from 2.7.

--
nosy: +jason.coombs
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7457] Adding a read_pkg_file to DistributionMetadata

2009-12-08 Thread Tarek Ziadé

Tarek Ziadé  added the comment:

done in r76702 + r76704 (2.7) and r76706 (3.2)

--
status: open -> closed
versions:  -Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7457] Adding a read_pkg_file to DistributionMetadata

2009-12-08 Thread Tarek Ziadé

New submission from Tarek Ziadé :

This API will allow readong back static PKG-INFO files.

--
assignee: tarek
components: Distutils
messages: 96113
nosy: tarek
priority: normal
severity: normal
status: open
title: Adding a read_pkg_file to DistributionMetadata
versions: Python 2.7, Python 3.1, Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com