[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file18482/sdist-manifest-marker.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688 ___

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file18517/sdist-manifest-marker.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688 ___

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: New version of the patch to address Tarek’s comments and add NEWS and docs entries. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-13 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: This is a regression introduced in 2.6.6rc1. After discussion in irc with merwok, it is agreed that he will revert to pre-2.6.6rc1 behavior and not apply any fix. It's way too late to be changing behavior in 2.6.6. Folks using Python 2.6

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: 2.6 regression reverted in r83992. Tarek is okay with my patch for the other branches. I noticed the first fix did not have a versionadded in the docs, so I’ll add that and commit. -- assignee: tarek - eric.araujo priority: release

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Patch committed in r83993 (py3k), r83994 (3.1) and r83996 (2.7). I got the version wrong in 3.x and fixed it in r83995 and r83998. -- ___ Python tracker rep...@bugs.python.org

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Attaching a patch to implement the marker idea. No doc changes yet. It should work transparently: you don’t have to give an option to have automatic recalculation, you don’t have to give an option to have it leave your manual MANIFEST alone.

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-10 Thread J . David Ibáñez
J. David Ibáñez jda...@itaapy.com added the comment: This issue has broken our build system too. A bug has been fixed, but another one is open now. If the MANIFEST file has been produced by distutils it should be regenerated each time. But if it has not been produced by distutils then it

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-10 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I agree with msg113530 and msg112371 that the current behavior is a bug: distutils is now too agressive because it recalculates the MANIFEST file even when distutils isn't the one that calculated it in the first place. This is a

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-10 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I like the idea of a marker in a comment line in the MANIFEST, we can introduce this as a bug fix to avoid this regression -- ___ Python tracker rep...@bugs.python.org

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-02 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman dirk...@ochtman.nl: -- nosy: +djc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688 ___ ___ Python-bugs-list mailing

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-01 Thread Matt Mackall
Matt Mackall m...@selenic.com added the comment: This change just wrecked Mercurial's release build process. We've been building Mercurial release tarballs with a Makefile target wrapped around sdist for most of five years, and we've never had or wanted a MANIFEST.in file. We generate an

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-01 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: this fix was done to avoid generating broken MANIFEST file with sdist. IIUC your problem is more about avoiding generating a MANIFEST file at *all* via sdist, so we should add a --no-manifest option to the sdist command. This can be added

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-01 Thread Matt Mackall
Matt Mackall m...@selenic.com added the comment: Ok, we need a change that will work with Python 2.4 through 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688 ___

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-01 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Follow-up at http://selenic.com/pipermail/mercurial-packaging/2010-August/09.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-17 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r81255, r81256 (2.6), r81258 (py3), r81260 (3.1) Thanks Ronald -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: One way to fix this: is to always recreate MANIFEST when an explicit MANIFEST.in file exists, as in the attached patch. (The patch is not perfect: I'd rename template_newer before committing) -- keywords: +needs review, patch

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-16 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: The same problem occurs without a manifest template: you can have options or imports in setup.py that will change the MANIFEST file. For example : if setup() has: packages=['foo'] And if you add a subpackage bar in foo with some

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-16 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688 ___ ___

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-11 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: -- nosy: +meatballhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8688 ___ ___ Python-bugs-list

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-05-11 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: The sdist command in distutils calculates the MANIFEST file from a template (by default MANIFEST.in). The code in sdist assumes that the contents of MANIFEST only depends on MANIFEST.in and setup.py, which can cause files to be