Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add requirement on packaging #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

zonca
Copy link

@zonca zonca commented Nov 10, 2020

Checking the version of photutils requires the packaging module.
See:

try:
import photutils
photutils_installed = True
from photutils.centroids import centroid_com
# account for API change
from packaging import version
photutils_version = version.parse(photutils.__version__)

I happened to have photutils installed, but it was not detected by imexam becase trying to import packaging was throwing ImportError.

@coveralls
Copy link

coveralls commented Nov 10, 2020

Coverage Status

Coverage increased (+0.2%) to 38.334% when pulling 8d4da3e on zonca:patch-1 into d6f21d1 on spacetelescope:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants