Opened 6 years ago
Last modified 5 years ago
#57557 assigned defect
py36-montage: TypeError: 'Version' object is not subscriptable
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: | py-montage |
Description
git submodule command failed unexpectedly: fatal: not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "setup.py", line 8, in <module> import ah_bootstrap File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-montage/py36-montage/work/montage-wrapper-0.9.8/ah_bootstrap.py", line 748, in <module> _main() File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-montage/py36-montage/work/montage-wrapper-0.9.8/ah_bootstrap.py", line 745, in _main use_astropy_helpers(**kwargs) File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-montage/py36-montage/work/montage-wrapper-0.9.8/ah_bootstrap.py", line 249, in use_astropy_helpers upgrade = _do_upgrade(dist, index_url) File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-montage/py36-montage/work/montage-wrapper-0.9.8/ah_bootstrap.py", line 340, in _do_upgrade major, minor = (int(part) for part in dist.parsed_version[:2]) TypeError: 'Version' object is not subscriptable
With py27-montage we have a similar-looking error:
git submodule command failed unexpectedly: fatal: not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "setup.py", line 8, in <module> import ah_bootstrap File "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_python_py-montage/py27-montage/work/montage-wrapper-0.9.8/ah_bootstrap.py", line 748, in <module> _main() File "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_python_py-montage/py27-montage/work/montage-wrapper-0.9.8/ah_bootstrap.py", line 745, in _main use_astropy_helpers(**kwargs) File "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_python_py-montage/py27-montage/work/montage-wrapper-0.9.8/ah_bootstrap.py", line 249, in use_astropy_helpers upgrade = _do_upgrade(dist, index_url) File "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_python_py-montage/py27-montage/work/montage-wrapper-0.9.8/ah_bootstrap.py", line 340, in _do_upgrade major, minor = (int(part) for part in dist.parsed_version[:2]) TypeError: 'Version' object has no attribute '__getitem__'
Change History (3)
comment:1 Changed 6 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | kurthindenburg added |
---|
comment:2 Changed 5 years ago by reneeotten (Renee Otten)
It looks it did build correctly after the update as the packages with version number 0.9.9 are available now under http://packages.macports.org/py??-montage/
, correct? If so, we can probably close this ticket.
comment:3 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | robitaille@… deleted |
---|
Note: See
TracTickets for help on using
tickets.
let's see if my recent update fixes this