-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Split feedstock into astropy-base and astropy packages and update to 7.0 #137
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe:
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2024.06.11.11.32.55
Co-authored-by: Clément Robert <[email protected]>
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should definitely do this!
Hi! This is the friendly automated conda-forge-linting service. I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipe/meta.yaml:
|
recipe/meta.yaml
Outdated
{% set version = "6.1.6" %} | ||
{% set version = "7.0.0" %} | ||
{% set python_min = python_min | default("3.11") %} | ||
{% set PYTHON = PTYHON | default("$PYTHON") %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that $PYTHON
isn't defined on windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gross. Have also hit some stuff like this on uv
. Not sure how it works in this situation... perhaps moving that behavior inside the if
for checking if the noarch
package is going to be built? Alternately:
{% set PYTHON = PTYHON | default("$PYTHON") %} # [unix]
{% set PYTHON = PTYHON | default("%PYTHON%") %} # [win]
Alternately, if there's only one noarch
, maybe it should be noarch: python
, which would then use the CFEP-25 python_min
in more places:
build:
noarch: python
requirements:
host:
- python {{ python_min }}
run:
- python >= {{ python_min }}
test:
requires:
- python {{ python_min }}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't remember why we didn't do noarch: python
to start off with. Let's give it another go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thoughts, that fills me with dread 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arghl it dosent work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed to noarch: python it seems to work
Hi! This is the friendly automated conda-forge-linting service. I failed to even lint the recipe, probably because of a conda-smithy bug 😢. This likely indicates a problem in your This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12029783733. Examine the logs at this URL for more detail. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12030193387. Examine the logs at this URL for more detail. |
…nda-forge-pinning 2024.11.26.07.33.56
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipe/meta.yaml:
For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12030369091. Examine the logs at this URL for more detail. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12030413883. Examine the logs at this URL for more detail. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
🍿 - I'm glad it's not me driving this PR 😄 |
😭 |
Just to make sure: @conda-forge-admin, please rerender |
…onda-forge-pinning 2024.11.26.07.33.56
@@ -23,4 +23,8 @@ | |||
test(package='wcs') | |||
test(package='io.fits') | |||
else: | |||
test() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh, this is a good reminder that we actually use the testmodule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be easy to not and invoke pytest here
@Cadair - do you want to cleanup, or shall I squash merge, or yolo? Happy with either options :) |
Happy to squash merge it. Rebasing was unappealing. |
Thanks for bringing this one to completion! |
Hurray 🎆 |
This PR adds a new package
astropy-base
with just the required dependencies and updates theastropy
package to have almost all the optional dependencies.Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)