Skip to content

Conversation

@lucascolley
Copy link
Member

@lucascolley lucascolley force-pushed the meson-python branch 4 times, most recently from a28bd6f to db58474 Compare January 5, 2026 16:00
@lucascolley

This comment was marked as resolved.

Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

Thanks @lucascolley, this looks close. I didn't test yet, but hopefully the comments will be enough to resolve the remaining failures first.

Copy link
Member Author

@lucascolley lucascolley left a comment

Choose a reason for hiding this comment

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

@rgommers ready to go I think!

@@ -1,8 +1,8 @@
1. Update the version in `src/array_api_extra/__init__.py`
1. Update the version in `pyproject.toml`, `meson.build`, and `src/array_api_extra/__init__.py`
Copy link
Member Author

Choose a reason for hiding this comment

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

up to 3 sources now, I don't think pixi-build is smart enough to handle dynamic versioning yet. But I think it's okay.

Comment on lines 43 to 54
### array-api-extra package definition ###

[tool.pixi.package.build.backend]
name = "pixi-build-python"
version = "*"

[tool.pixi.package.host-dependencies]
meson-python = "*"

[tool.pixi.package.run-dependencies]
array-api-compat = "*"
Copy link
Member Author

Choose a reason for hiding this comment

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

I switched over to pixi-build, much saner for ensuring we have ninja etc. in the environment when we need it.

Comment on lines +55 to +63
### workspace environments ###

[tool.pixi.environments]
default = { features = ["py313"], solve-group = "py313" }
lint = { features = ["py313", "lint"], solve-group = "py313" }
docs = { features = ["py313", "docs"], solve-group = "py313" }
tests = { features = ["py313", "tests"], solve-group = "py313" }
tests-py313 = { features = ["py313", "tests"], solve-group = "py313" } # alias of tests
Copy link
Member Author

Choose a reason for hiding this comment

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

this is just moved up from below, it is clearer to keep environment definitions at the top IMO

Comment on lines +81 to +87
[tool.pixi.dev]
# this pulls in array-api-extra's host and run dependencies
array-api-extra.path = "."

[tool.pixi.dependencies]
array-api-compat = ">=1.12.0,<2"
array-api-extra.path = "."
Copy link
Member Author

Choose a reason for hiding this comment

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

ideally we wouldn't need both of these, I have asked offline

@lucascolley lucascolley changed the title BLD: switch to meson-python BLD/DEV: switch to meson-python and pixi-build Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants