Skip to content

CI: Add job to validate conda-forge meta.yaml #53027

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

Merged
merged 24 commits into from
May 8, 2023

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke added Build Library building on various platforms CI Continuous Integration labels May 1, 2023
Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

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

Thanks for working on this @mroeschke, this will make the releases much less stressful.

I added couple of comments, but looks great.

ci/meta.yaml Outdated
Comment on lines 8 to 9
url: https://github.com/pandas-dev/pandas/releases/download/v{{ version }}/pandas-{{ version }}.tar.gz
sha256: 19b8e5270da32b41ebf12f0e7165efa7024492e9513fb46fb631c5022ae5709d
Copy link
Member

Choose a reason for hiding this comment

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

I guess we may want to build the package with the lastest pandas from git, not the latest version? Not sure if this will fail when new dependencies are added or similar things, and Dask seems to do that:

https://github.com/dask/dask/blob/main/continuous_integration/recipe/meta.yaml#L11

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah I see. Good call I'll change this

@@ -0,0 +1,88 @@
{% set version = "2.0.1" %}
Copy link
Member

Choose a reason for hiding this comment

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

I'm unusure about the file name. Using the original/standard one makes sense. But at the same time, without more context inside ci/ the file name is not very descriptive. Totally up to you, just a thought, but since we specify the file name when calling conda mambabuild maybe naming this ci/conda-recipe.yml would be better?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea. I renamed it to ci/conda-recipe.yml

Copy link
Member Author

@mroeschke mroeschke May 2, 2023

Choose a reason for hiding this comment

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

I had to change this back to meta.yaml to be recognized by conda mambabuild

@datapythonista datapythonista mentioned this pull request May 2, 2023
@mroeschke mroeschke added this to the 2.0.2 milestone May 3, 2023
@mroeschke
Copy link
Member Author

Going to merge this in, but happy to address any followups

@mroeschke mroeschke merged commit 824fc83 into pandas-dev:main May 8, 2023
@mroeschke mroeschke deleted the ci/conda/meta branch May 8, 2023 22:45
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request May 8, 2023
mroeschke added a commit that referenced this pull request May 9, 2023
…ge meta.yaml) (#53146)

Backport PR #53027: CI: Add job to validate conda-forge meta.yaml

Co-authored-by: Matthew Roeschke <[email protected]>
@datapythonista
Copy link
Member

Thanks for this @mroeschke, looks great!

Rylie-W pushed a commit to Rylie-W/pandas that referenced this pull request May 19, 2023
* CI: Add job to validate conda-forge meta.yaml

* Rename file, test from git

* Fix typo

* fix concurrency

* rename to meta.yaml, test over python versions

* Fix recipe, add python version to job name

* Try using mambabuild verify directly

* seperate test from build

* Add check, and save to specific output location

* Skip verify step

* Check if it's in package

* Try specifying another folder

* Try local

* Give full path?

* Check where the package is

* Whats in noarch?

* check linux-64

* Skip --test

* only run during main and 2.0 checks

* update meta
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
* CI: Add job to validate conda-forge meta.yaml

* Rename file, test from git

* Fix typo

* fix concurrency

* rename to meta.yaml, test over python versions

* Fix recipe, add python version to job name

* Try using mambabuild verify directly

* seperate test from build

* Add check, and save to specific output location

* Skip verify step

* Check if it's in package

* Try specifying another folder

* Try local

* Give full path?

* Check where the package is

* Whats in noarch?

* check linux-64

* Skip --test

* only run during main and 2.0 checks

* update meta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants