0.9.6.2 mis-packaged?

4 views
Skip to first unread message

Kyle VanderBeek

unread,
Jun 13, 2008, 4:02:40 PM6/13/08
to pylons-devel
I'm a Fedora contributor learning Pylons and getting everything
packaged to make using Pylons on Fedora (and eventually RHEL) easy. I
was going to update my proposed package to 0.9.6.2, but there seems to
problems with the tarball that make me nervous.

For example, the docs/ directory has vanished and the LICENSE and
CHANGELOG files aren't there. Additionally, there are a number of
strange "._" duplicate files like this:

Pylons-0.9.6.2/pylons/.___init__.py
Pylons-0.9.6.2/pylons/__init__.py
Pylons-0.9.6.2/pylons/._commands.py
Pylons-0.9.6.2/pylons/commands.py
Pylons-0.9.6.2/pylons/._config.py
Pylons-0.9.6.2/pylons/config.py
Pylons-0.9.6.2/pylons/._configuration.py
Pylons-0.9.6.2/pylons/configuration.py

This makes me think something went wrong when rolling the new version
tarball (possibly a dirty or incomplete workspace). Thoughts?

Kyle VanderBeek

unread,
Jun 24, 2008, 2:32:14 PM6/24/08
to pylons-devel
On Jun 13, 1:02 pm, Kyle VanderBeek <vanderb...@gmail.com> wrote:
> ...
> Pylons-0.9.6.2/pylons/.___init__.py
> Pylons-0.9.6.2/pylons/__init__.py
> Pylons-0.9.6.2/pylons/._commands.py
> Pylons-0.9.6.2/pylons/commands.py
> Pylons-0.9.6.2/pylons/._config.py
> Pylons-0.9.6.2/pylons/config.py
> Pylons-0.9.6.2/pylons/._configuration.py
> Pylons-0.9.6.2/pylons/configuration.py
>
> This makes me think something went wrong when rolling the new version
> tarball (possibly a dirty or incomplete workspace). Thoughts?

I just noticed the same thing happened in the 0.9.5 release of Beaker
as well:

[kylev@kylev-dt devel]$ tar tzf Beaker-0.9.5.tar.gz | grep \\._
Beaker-0.9.5/beaker/.___init__.py
Beaker-0.9.5/beaker/._cache.py
Beaker-0.9.5/beaker/._container.py
Beaker-0.9.5/beaker/ext/.___init__.py
Beaker-0.9.5/beaker/ext/._database.py
Beaker-0.9.5/beaker/ext/._google.py
Beaker-0.9.5/beaker/ext/._memcached.py
Beaker-0.9.5/beaker/._middleware.py
Beaker-0.9.5/beaker/._session.py
Beaker-0.9.5/beaker/._util.py
Beaker-0.9.5/._CHANGELOG
Beaker-0.9.5/._LICENSE
Beaker-0.9.5/._setup.py
Beaker-0.9.5/tests/._test_cache.py
Beaker-0.9.5/tests/._test_database.py
Beaker-0.9.5/tests/._test_memcached.py

This looks like some sort of mercurial artifact. How are packages
being rolled for release? "python setup.py sdist" should roll these
cleanly without this sort of problem.

Ben Bangert

unread,
Jun 24, 2008, 4:21:49 PM6/24/08
to pylons...@googlegroups.com
On Jun 24, 2008, at 11:32 AM, Kyle VanderBeek wrote:

> I just noticed the same thing happened in the 0.9.5 release of Beaker
> as well:
>
> [kylev@kylev-dt devel]$ tar tzf Beaker-0.9.5.tar.gz | grep \\._
> Beaker-0.9.5/beaker/.___init__.py
> Beaker-0.9.5/beaker/._cache.py
> Beaker-0.9.5/beaker/._container.py
> Beaker-0.9.5/beaker/ext/.___init__.py
> Beaker-0.9.5/beaker/ext/._database.py
> Beaker-0.9.5/beaker/ext/._google.py
> Beaker-0.9.5/beaker/ext/._memcached.py
> Beaker-0.9.5/beaker/._middleware.py
> Beaker-0.9.5/beaker/._session.py
> Beaker-0.9.5/beaker/._util.py
> Beaker-0.9.5/._CHANGELOG
> Beaker-0.9.5/._LICENSE
> Beaker-0.9.5/._setup.py
> Beaker-0.9.5/tests/._test_cache.py
> Beaker-0.9.5/tests/._test_database.py
> Beaker-0.9.5/tests/._test_memcached.py
>
> This looks like some sort of mercurial artifact. How are packages
> being rolled for release? "python setup.py sdist" should roll these
> cleanly without this sort of problem

It's actually a Leopard issue. There's a known issue with these _files
being packaged in tars on OSX, prior to OSX 10.5, there was an
environment flag that fixed the problem by forcing the OSX tar to not
include them. It appears that since moving to OSX 10.5, this
environment variables no longer works, and these damn files are back
again. I'll likely need to move my packaging off to a separate linux
host to avoid having these files included in the future.

If you're packaging these packages for an OS distro, please feel free
to remove them from the package.

Cheers,
Ben

Kyle VanderBeek

unread,
Jun 25, 2008, 1:20:22 PM6/25/08
to pylons-devel
On Jun 24, 1:21 pm, Ben Bangert <b...@groovie.org> wrote:
> If you're packaging these packages for an OS distro, please feel free
> to remove them from the package.

Fortunately the setup.py doesn't install the errant "._" files, so not
much of a worry there (other than the potential to confuse people who
notice them). I'm more concerned with the missing CHANGELOG and
LICENSE files, as well as the entire docs/ directory from the Pylons
0.9.6.2 tarball. Perhaps a more cleanly rolled 0.9.6.3 is appropriate?
Reply all
Reply to author
Forward
0 new messages