Skip to content

devops(conda): publish a single version per OS instead of each supported Python version#2391

Merged
mxschmitt merged 1 commit into
mainfrom
single-python-version-build
Apr 3, 2024
Merged

devops(conda): publish a single version per OS instead of each supported Python version#2391
mxschmitt merged 1 commit into
mainfrom
single-python-version-build

Conversation

@mxschmitt

@mxschmitt mxschmitt commented Apr 3, 2024

Copy link
Copy Markdown
Contributor

Motivation: Currently we publish OS multiplied by supported Python version (see here), which is not necessary, this will reduce the published packages to only the supported OS'es which have a certain Python version requirement, like we have for Pypi.

Fixes #1023

Comment thread meta.yaml
requirements:
build:
- python # [build_platform != target_platform]
- python >=3.8 # [build_platform != target_platform]

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.

Do we have a test bot with such minimal version to ensure that we are still compatible with it? What I see below is just a python with the same version as was used for the build.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We don't have such bots in place for conda, will do some manual testing, but this replicates what we do for pytest-playwright, so fairly confident that it works.

@mxschmitt mxschmitt merged commit d796ac7 into main Apr 3, 2024
@mxschmitt mxschmitt deleted the single-python-version-build branch April 3, 2024 15:53
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.

Have single package per OS in Conda

2 participants