Roundup Tracker - Issues

Message7186

Author jerrykan
Recipients jerrykan, pcaulagi, rouilj, schlatterbeck, techtonik
Date 2021-04-12.01:57:26
Message-id <4d988495-a405-0242-af46-64e263b858ad@jerrykan.com>
In-reply-to <1617657627.95.0.0649882382127.issue2550899@roundup.psfhosted.org>
Hello John,

On 6/4/21 7:20 am, John Rouillard wrote:
> I assume this:
> 
>    hg status --rev 1.6.0:tip | sed -ne 's/^A //p' | while read i ; \
>     do echo $i; grep "$i" MANIFEST; done | uniq -c
> 
> should change to
> 
>    hg status --rev 2.0.0:tip| sed -ne 's/^A //p' | while read i ;
>     do echo $i; grep "$i" roundup.egg-info/SOURCES.txt; done | uniq -c
> 
> replacing MANIFEST.

Looks like I missed that reference to the MANIFEST file, so yes your 
suggested change would seem to be correct and needs to be included in 
the patch.

> Also is looks like MANIFEST.in is still
> valid for setuptools. I assume the reference for changing
> MANIFEST.in should change from:
> 
>    http://docs.python.org/2/distutils/sourcedist.html#manifest-template
> 
> to:
> 
>    https://packaging.python.org/guides/using-manifest-in/#using-manifest-
> in
> 
> correct?

It seems the Python2 documentation is the only place that documents what 
should go in the MANIFEST.in file.

The packaging.python.org links seems to be a dead link (even though it 
is referenced in other parts of the documentation).

The Python3 documentation no longer seems to outline the list of 
commands that can be used in the MANIFEST.in file... and the note at the 
top gives the impression that distutils (and its documentation) is, or 
will be, deprecated in favour of setuptools.

Looking through the setuptools documentation there are a number of 
references to MANIFEST.in, but again no information about what should be 
in the file.

However it seems that setuptools does provide alternative methods to 
using MANIFEST.in, see:

     https://setuptools.readthedocs.io/en/latest/userguide/datafiles.html

My reading of that seem to indicate that we should be using 
`include_package_data=True` so that backwards compatibility with 
MANIFEST.in is kept even if we don't use that alternative options.

> Also I was able to use:
> 
>      python3 setup.py sdist --repository test --sign
> 
> successfully. I also did a purse sdist and tested the tarball. All
> tests passed.
> 
> I also was able to:
> 
>      python3 setup.py bdist_egg --repository test --sign
>      python3 setup.py bdist_wheel  --repository test --sign
> 
> and it seems to work on test.pypi.org.
> 
> Do you have a reference on how I can test these? Something similar to
> (your) step 11 in RELEASE.txt would be good. I don't want egg (ahem)
> on my face if I deploy these methods.

I'm not sure I follow what you want to test. Are you able to elaborate?

SeeYa,
John.
History
Date User Action Args
2021-04-12 01:57:28jerrykansetrecipients: + jerrykan, schlatterbeck, rouilj, techtonik, pcaulagi
2021-04-12 01:57:27jerrykanlinkissue2550899 messages
2021-04-12 01:57:27jerrykancreate