Opened 7 years ago

Closed 5 years ago

#1786 closed defect (fixed)

Naming of development bundles

Reported by: Tristan Croll Owned by: Conrad Huang
Priority: moderate Milestone:
Component: Tool Shed Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Setup Tools seems to be doing some automatic reformatting of bundles with the word "dev" in the version string. If I set the Clipper version string to either of 0.3.1-dev001 or 0.3.1dev001 the resulting wheel file becomes ChimeraX_Clipper-0.3.1.dev1.... The wheel gets built, but I get the following traceback at the tail end of make app-install:

`
removing build/bdist.linux-x86_64/wheel
Traceback (most recent call last):

File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-packages/chimerax/core/commands/devel.py", line 151, in _run

unbound_method(bb, *args, kw)

File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-packages/chimerax/bundle_builder/bundle_builder.py", line 85, in make_install

self.make_wheel(test=test, debug=debug)

File "/opt/UCSF/ChimeraX-daily/lib/python3.7/site-packages/chimerax/bundle_builder/bundle_builder.py", line 80, in make_wheel

raise RuntimeError("Building wheel failed")

RuntimeError: Building wheel failed
`

If I give in and set the string according to the convention it wants, everything works fine.

Change History (3)

comment:1 by Tristan Croll, 7 years ago

Ack! Sorry about the mangled formatting. Apparently my fingers thought they were on GitHub.

comment:2 by Tristan Croll, 7 years ago

Clarification: setting the string to "0.4.dev1" works, but "0.3.1.dev1" still fails - I assume due to the limit of three version levels.

comment:3 by Greg Couch, 5 years ago

Resolution: fixed
Status: assignedclosed

We now conform to PEP 440 version numbers.

Note: See TracTickets for help on using tickets.