A strange error from sdist

7 views
Skip to first unread message

Michele Mattioni

unread,
Feb 14, 2012, 12:07:34 PM2/14/12
to paver
Hello paver list,

I'm running in a strange error when trying to perform an sdist.

this is the output:

(neuronvisio_test)mattions@triton:Neuronvisio(master)$ paver sdist

*** Problem with pavement:
/home/mattions/Work/model/MSN/Neuronvisio/pavement.py
In setting command options for Task: sdist,
option ('tag-date', 'd', 'Add date stamp (e.g. 20050528) to
version number') for Task: setuptools.command.egg_info is already in
use
by another task in the dependency chain.

My pavement: https://github.com/mattions/neuronvisio/blob/master/pavement.py

I'm not really sure I understand what is the problem.
I'm getting the error with version 1.0.5

Any clue?

Thanks,
Michele.

jhermann

unread,
Feb 15, 2012, 4:45:39 AM2/15/12
to paver
$ paver help egg_info | grep tag-date
-d, --tag-date Add date stamp (e.g. 20050528) to version
number

This causes a collision, but last year some mechanism was added to
share options between commands. If you don't insist on the option
name, just use another one, that is the easiest solution.

Michele Mattioni

unread,
Feb 15, 2012, 8:29:48 AM2/15/12
to pa...@googlegroups.com
Hello,

To be honest I'm not sure how I'm using the option.

I just launch paver sdist and it always baked the package properly.
Right now is not working anymore.
if I do python setup.py sdist, the package is properly create in tarball

> --
> You received this message because you are subscribed to the Google Groups "paver" group.
> To post to this group, send email to pa...@googlegroups.com.
> To unsubscribe from this group, send email to paver+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/paver?hl=en.
>

jhermann

unread,
Feb 16, 2012, 5:50:09 AM2/16/12
to paver
Did you always have that local sdist() task? It might help to just
rename it to srcdist as a quickfix until someone can show a better
way, since right now you overload the built-in sdist which might
contribute to your error.

Michele Mattioni

unread,
Feb 16, 2012, 7:57:49 AM2/16/12
to pa...@googlegroups.com
The overload sdist has always been there, from when I started using paver
It is also overloaded on the classic documentation:
http://paver.github.com/paver/

However, even if I change it to srcdist I get the same error described before.

jhermann

unread,
Feb 17, 2012, 6:05:59 AM2/17/12
to paver
I added your task, sans the custom dependant task, to one of my
projects, and it runs without a hitch (using 1.0.5). So there must be
"something different" with your project or environment.

Watch this:

$ yolk -a
Jinja2 - 2.6 - active
Paver - 1.0.5 - active
Pygments - 1.4 - active
Python - 2.6.7 - active development (/usr/lib/
python2.6/lib-dynload)
Sphinx - 1.1.2 - active
bpython - 0.10.1 - active
coverage - 3.5.1 - active
distribute - 0.6.24 - active
docutils - 0.8.1 - active
jmx4py - 0.1dev-20120217 - active development (/home/jhe/
workspaces/pydev/jmx4py/src)
logilab-astng - 0.23.0 - active
logilab-common - 0.57.1 - active
nose - 1.1.2 - active
nosexcover - 1.0.7 - active
pip - 1.0.2 - active
pylint - 0.25.0 - active
setuptools - 0.6c11 - active
setuptools - 0.6c11 - active
unittest2 - 0.5.1 - active
wsgiref - 0.1.2 - active development (/usr/lib/
python2.6)
yolk - 0.4.1 - active

Check whether you run a different version of distribute or similar. My
recommendation is to run a venv with the NEWEST distribute, and ditch
anything your OS comes with (python-setuptools.deb etc).

jhermann

unread,
Feb 17, 2012, 6:07:19 AM2/17/12
to paver

Michele Mattioni

unread,
Feb 17, 2012, 6:22:12 AM2/17/12
to pa...@googlegroups.com
Hi,

Thanks for the hint. I think I found what is the problem.
In my project I use githubtools
(https://github.com/dinoboff/github-tools) extension to host the
documentation online at github

It seems that the task gh_pages_build creates some conflict. Removing
the task gives the possibility to run it without trouble.

Thanks,
Michele.


On Fri, Feb 17, 2012 at 11:07 AM, jhermann <Juergen...@1und1.de> wrote:
> PS:
>
> https://github.com/jhermann/jmx4py/commit/130e9a925b75a575e93a74b81a1f7521bcf42cc8

Reply all
Reply to author
Forward
0 new messages