This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients alexis, carljm, eric.araujo, higery, michael.mulich
Date 2011-07-12.13:43:00
SpamBayes Score 1.7263968e-14
Marked as misclassified No
Message-id <1310478181.69.0.401727547746.issue12279@psf.upfronthosting.co.za>
In-reply-to
Content
> So if we include the RECORD file (point number 2) without the checksum
> and size (two columns in the RECORD csv format),
Well, three columns, the last one being empty.

> we will still be PEP376 valid (maybe?), but the file verification
> information will be missing. And we don't really want this
> information because if we edit a file, the checksum and size will be
> incorrect anyhow. This missing information is not important when
> using the develop or test commands, because we are running the
> commands on a trusted local copy.
Good thinking.

> What are the consequences of not writing the checksum or size to the
> RECORD file? And does that solve the issue?
I think checksum was intended for use by uninstallers, so we’re good.  I don’t know why the size is included.


> I don't really think the "invalid PEP 376" issue is a problem: PEP
> 376 describes the metadata for installed distributions; it has
> nothing to say about built metadata for a distribution which has not
> yet been installed.
The problem is that develop is a kind of install.

> For purposes of the develop command, if a pth file is used to
> implement develop, then ideally when develop is run a RECORD file
> would be added containing only the path to that pth file, as thats
> the only file that has actually been installed
Yeah!

> (and the only one that should be removed if the develop-installed
> package is uninstalled).
Are you saying that such a RECORD file would allow any installer compatible with PEP 376 to undo a develop install?  Clever!
History
Date User Action Args
2011-07-12 13:43:01eric.araujosetrecipients: + eric.araujo, carljm, alexis, michael.mulich, higery
2011-07-12 13:43:01eric.araujosetmessageid: <1310478181.69.0.401727547746.issue12279@psf.upfronthosting.co.za>
2011-07-12 13:43:01eric.araujolinkissue12279 messages
2011-07-12 13:43:00eric.araujocreate