Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

error when running setup.py test #394

Closed
wkerzendorf opened this issue Feb 20, 2019 · 3 comments
Closed

error when running setup.py test #394

wkerzendorf opened this issue Feb 20, 2019 · 3 comments

Comments

@wkerzendorf
Copy link
Member

wkerzendorf commented Feb 20, 2019

I get this error when running python setup.py test in python3.6 with helpers 3.1. it goes away when I run the same command again. Appears sometimes.

  File "/Users/wkerzend/python/tardis/astropy_helpers/astropy_helpers/version_helpers.py", line 281, in generate_version_py
    imp.reload(version_module)
  File "/Users/wkerzend/miniconda/envs/tardis3/lib/python3.6/imp.py", line 315, in reload
    return importlib.reload(module)
  File "/Users/wkerzend/miniconda/envs/tardis3/lib/python3.6/importlib/__init__.py", line 159, in reload
    name=parent_name) from None
ImportError: parent 'tardis' not in sys.modules

tardis_package_versions.txt

@astrofrog astrofrog assigned astrofrog and unassigned astrofrog Feb 20, 2019
@astrofrog
Copy link
Member

I'm not sure why this is happening, but the code that is triggering this will be gone in the next release of astropy-helpers. Does this happen only with 3.6?

@wkerzendorf
Copy link
Member Author

Haven't tested any other versions yet. attaching environment file. but don't worry -if it goes away that's fine.

@pllim
Copy link
Member

pllim commented Jan 31, 2020

python setup.py test is no longer the way to go with #438 merged.

@pllim pllim closed this as completed Jan 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants