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

Docker Integration #1069

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from
Draft

Docker Integration #1069

wants to merge 31 commits into from

Conversation

robertdstein
Copy link
Member

This PR adds a Docker option. It is likely to be the main way to run mirar on M1 macs, alongside an environment with manually installed astromatic packages.

It's a big change, but it's become unavoidable I think. The problem is that the old osx-64 conda is being abandoned by packages we use e.g pytorch (e.g #1028), and the new osx-arm64 conda environment does not have source-extractor/scamp etc (#352). We are unable to move to numpy V2 with our pinned pytorch version (#1057), and since numpy is very widely used, we are likely going to be unable to use new versions of most packages in the near future.

This should also provide a very fast/simplified method for installing mirar.

As a bonus, this PR adds support for specifying the directory containing astrometry.net index files using environment variables. That was required for Docker, but is just generally very handy and simplifies installation.

Fix #790

@robertdstein robertdstein linked an issue Jan 24, 2025 that may be closed by this pull request
@coveralls
Copy link

coveralls commented Jan 31, 2025

Pull Request Test Coverage Report for Build 13092699177

Details

  • 7 of 9 (77.78%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 82.427%

Changes Missing Coverage Covered Lines Changed/Added Lines %
mirar/paths.py 3 5 60.0%
Totals Coverage Status
Change from base Build 12632313395: 0.004%
Covered Lines: 11248
Relevant Lines: 13646

💛 - Coveralls

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.

[FEATURE] Docker Option?
2 participants