Hi all, by mistake I have uploaded a package whose 'version', as specified in 'setup.py', contained a comma (0,1.5 instead of 0.1.5). It shows with 'devpi list djangoskel --all' as djangoskel-0-1.5: ~$ devpi list djangoskel --all ... .../prod/+f/349/ed08af4137853/djangoskel-0-1.5.tar.gz but I'm unable to remove it from the index. Tried with: ~$ devpi remove djangoskel=0-1.5 ~$ devpi remove djangoskel-0=1.5 In both cases I get a ValueError: ('Expected version spec in' ...) How can I manually remove the package from de cache? OTOH that looks like a bug to me, devpi should reject packages that will be "inaccessible" (can't be installed nor deleted). devpi server 2.1.5 devpi client 2.1.0 Thanks in advance
On 31 Mar 2015, at 17:27, Alexis Roda wrote:
Hi all, by mistake I have uploaded a package whose 'version', as specified in 'setup.py', contained a comma (0,1.5 instead of 0.1.5).
...
but I'm unable to remove it from the index. Tried with:
~$ devpi remove djangoskel=0-1.5 ~$ devpi remove djangoskel-0=1.5
Try with double equal signs. Regards, Florian Schulze
El 31/03/15 a les 18:56, Florian Schulze ha escrit:
On 31 Mar 2015, at 17:27, Alexis Roda wrote:
Hi all, by mistake I have uploaded a package whose 'version', as specified in 'setup.py', contained a comma (0,1.5 instead of 0.1.5).
...
but I'm unable to remove it from the index. Tried with:
~$ devpi remove djangoskel=0-1.5 ~$ devpi remove djangoskel-0=1.5
Try with double equal signs.
I'm feeling embarrassed :$ Many thanks and sorry for the noise.
On Tue, Mar 31, 2015 at 19:20 +0200, Alexis Roda wrote:
El 31/03/15 a les 18:56, Florian Schulze ha escrit:
On 31 Mar 2015, at 17:27, Alexis Roda wrote:
Hi all, by mistake I have uploaded a package whose 'version', as specified in 'setup.py', contained a comma (0,1.5 instead of 0.1.5).
...
but I'm unable to remove it from the index. Tried with:
~$ devpi remove djangoskel=0-1.5 ~$ devpi remove djangoskel-0=1.5
Try with double equal signs.
I'm feeling embarrassed :$
Many thanks and sorry for the noise.
no problem. I still wonder if we should be more strict in acceptance of package names. ASFAIK "," is not a valid character in package names on pypi.python.org. holger
participants (3)
-
Alexis Roda
-
Florian Schulze
-
holger krekel