Skip to content

Try to avoid pyinstaller failure of unavailable available package - #11712

Merged
pllim merged 1 commit into
astropy:mainfrom
mhvk:coordinates-pyinstaller-fix
May 6, 2021
Merged

pllim merged 1 commit into
astropy:mainfrom
mhvk:coordinates-pyinstaller-fix

Conversation

@mhvk

@mhvk mhvk commented May 6, 2021

Copy link
Copy Markdown
Contributor

This should address the pyinstaller failure noted in #11700 (comment)... 🤞

I went for the try/except route since I wasn't sure the in-test check would work any better than that inside pytest.mark.skipif, and this seemed slightly cleaner.

@mhvk mhvk added this to the v5.0 milestone May 6, 2021
@mhvk
mhvk requested a review from pllim May 6, 2021 17:56
@github-actions github-actions Bot removed the testing label May 6, 2021
@mhvk
mhvk force-pushed the coordinates-pyinstaller-fix branch 2 times, most recently from 982b247 to 03e1014 Compare May 6, 2021 17:58
@mhvk
mhvk force-pushed the coordinates-pyinstaller-fix branch from 03e1014 to 034d959 Compare May 6, 2021 17:58
@pllim pllim added the testing label May 6, 2021

@pllim pllim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Let's see what pyinstaller job thinks. Thanks for the quick fix!

@pllim pllim added the zzz 💤 merge-when-ci-passes Do not use: We have auto-merge option now. label May 6, 2021
@mhvk

mhvk commented May 6, 2021

Copy link
Copy Markdown
Contributor Author

pyinstaller job passed!

@pllim

pllim commented May 6, 2021

Copy link
Copy Markdown
Member

Might as well wait for the rest... Linkcheck failure is unrelated and appears transient.

@pllim
pllim merged commit 51f46f0 into astropy:main May 6, 2021
@mhvk
mhvk deleted the coordinates-pyinstaller-fix branch May 6, 2021 22:27
pllim added a commit to pllim/astropy that referenced this pull request Jun 22, 2021
Try to avoid pyinstaller failure of unavailable available package
pllim added a commit to pllim/astropy that referenced this pull request Jun 22, 2021
Try to avoid pyinstaller failure of unavailable available package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coordinates Extra CI Run cron CI as part of PR no-changelog-entry-needed testing zzz 💤 merge-when-ci-passes Do not use: We have auto-merge option now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants