Skip to content

MNT: Remove pin_compatible restriction on pybind11 - #102

Merged
JohanMabille merged 3 commits into
conda-forge:mainfrom
matthewfeickert:mnt/remove-pybind11-pin
Apr 9, 2026
Merged

MNT: Remove pin_compatible restriction on pybind11#102
JohanMabille merged 3 commits into
conda-forge:mainfrom
matthewfeickert:mnt/remove-pybind11-pin

Conversation

@matthewfeickert

Copy link
Copy Markdown
Member

Resolves #101

  • Remove pin_compatible restriction on pybind11 as it is not needed.
  • Bump build number.
  • Use native platform runners for builds of linux-aarch64 and osx-arm64.
  • Use the default provider for Windows builds to use GitHub Actions.
  • Use Pixi as conda install tool.

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • [N/A] Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-admin

Copy link
Copy Markdown
Contributor

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 (recipe/recipe.yaml) and found it was in an excellent condition.

@matthewfeickert
matthewfeickert marked this pull request as ready for review April 8, 2026 20:22
@matthewfeickert

Copy link
Copy Markdown
Member Author

cc @chrisburr given conversation in #general > Reasons for a run export on pybind11?

Comment thread recipe/recipe.yaml
- python
- ${{ pin_compatible('xtl', upper_bound='x.x') }}
- ${{ pin_compatible('xtensor', upper_bound='x.x') }}
- ${{ pin_compatible('pybind11', upper_bound='x') }}

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.

It should still depend on pybind11, just probably with the same constraint as above. I guess the same applies to the others. It might also need ignore_run_exorts.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ah yes. I didn't notice that there wasn't a repeated pybind11 above the pin_compatible.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Exported run requirements (on linux-64 for Python 3.14 build) are now

 │ │ Run dependencies:
 │ │ ╭──────────────────┬──────────────────────────────────────────────────╮
 │ │ │ Name             ┆ Spec                                             │
 │ │ ╞══════════════════╪══════════════════════════════════════════════════╡
 │ │ │ Run dependencies ┆                                                  │
 │ │ │ __glibc          ┆ >=2.17,<3.0.a0 (RE of [build: sysroot_linux-64]) │
 │ │ │ libgcc           ┆ >=14 (RE of [build: gxx_linux-64])               │
 │ │ │ libstdcxx        ┆ >=14 (RE of [build: gxx_linux-64])               │
 │ │ │ numpy            ┆ >=1.23,<3 (RE of [host: numpy])                  │
 │ │ │ pybind11         ┆ >=2.12.0,<4                                      │
 │ │ │ python           ┆ *                                                │
 │ │ │ python_abi       ┆ 3.14.* *_cp314 (RE of [host: python])            │
 │ │ │ xtensor          ┆ >=0.27.1,<0.28.0a0 (PC)                          │
 │ │ │ xtl              ┆ >=0.8.2,<0.9.0a0 (PC)                            │
 │ │ ╰──────────────────┴──────────────────────────────────────────────────╯

* Remove pin_compatible restriction on pybind11 as it is not needed and use
  defined constraints from host.
* Add ignore_run_exports for pybind11.
* Bump build number.
* Use native platform runners for builds of linux-aarch64 and osx-arm64.
* Use the default provider for Windows builds to use GitHub Actions.
* Use Pixi as conda install tool.
…6.04.07.10.45.57

Other tools:
- conda-build 26.3.0
- rattler-build 0.61.4
- rattler-build-conda-compat 1.4.11
@matthewfeickert
matthewfeickert force-pushed the mnt/remove-pybind11-pin branch from f0b37ff to 3232aee Compare April 8, 2026 21:17

@JohanMabille JohanMabille left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the fix!

@JohanMabille
JohanMabille merged commit 3f1eec1 into conda-forge:main Apr 9, 2026
28 checks passed
@matthewfeickert
matthewfeickert deleted the mnt/remove-pybind11-pin branch April 9, 2026 14:19
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.

Reason for pybind11 run export?

4 participants