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

feat: add support for astropy >=6.1.7<8 dependency in pyproject.yaml #36

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

Conversation

michealroberts
Copy link
Contributor

@michealroberts michealroberts commented Jan 3, 2025

feat: add support for astropy >=6.1.7,<8 dependency in pyproject.yaml


Includes addition support for testings against a matrix of the most recent astropy versions across 6 to 7 by maintaining test support for latest versions of each 6 to 7, i.e., currently 6.1.7 and 7.0.0.

Closes #35

@michealroberts michealroberts force-pushed the feature/dependency/astropy branch 4 times, most recently from 8258c8e to 5dd57e7 Compare January 3, 2025 14:46
@@ -1,10 +1,20 @@
FROM python:3.11-buster
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lgrcia Buster is now obsolete, bookworm seems to cover 3.11.11 -> 3.13.1. (see https://hub.docker.com/_/python)

@@ -14,8 +14,8 @@ repository = "https://github.com/lgrcia/twirl"
keywords = ["astronomy", "astrometry", "plate-solving"]

[tool.poetry.dependencies]
python = "^3.9"
astropy = "^5.1.1"
python = ">=3.11,<3.14"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pinning to greater than python 3.11 here, as there was a discrepancy between the Dockerfile at 3.11-buster and the version here in the pyproject.toml file.

os: [ ubuntu-latest ]
os: [ubuntu-latest]
python-version: ["3.11", "3.12", "3.13"]
astropy-version: ["5.1.1", "6.1.7", "7.0"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ensure we "test" against all three major versions of astropy.

@michealroberts michealroberts force-pushed the feature/dependency/astropy branch 2 times, most recently from f12b186 to dae6712 Compare January 3, 2025 15:13
feat: add support for astropy >=6.1.7<8 dependency in pyproject.yaml
@michealroberts michealroberts force-pushed the feature/dependency/astropy branch from dae6712 to ff5ede7 Compare January 3, 2025 15:20
@michealroberts michealroberts changed the title feat: add support for astropy >=5.1.1,<8 dependency in pyproject.yaml feat: add support for astropy >=6.1.7<8 dependency in pyproject.yaml Jan 3, 2025
@michealroberts
Copy link
Contributor Author

michealroberts commented Jan 3, 2025

@lgrcia Due to some PEP 517 build issues, it might be easier to go straight to version 6 and 7 support in the next release ...

This would probably make the version a breaking change, unless you're happy to bump in 0.*.0 breaking changes (which is permissible under semver guidelines).

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]: add support for astropy versions from ^5.1.1 to v.7.*.* ...
1 participant