Skip to content

Commit e0d7938

Browse files
authored
fix(packaging): declare PEP 517 build-system for sdist installs (#271)
* fix(packaging): declare PEP 517 build-system for sdist installs Add [build-system] with poetry-core so pip can build from the source distribution with correct metadata. Without it, pip install --no-binary rstream could report inconsistent versions (e.g. 0.0.0 vs the release). Fixes #270 Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com> * update poetry Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com> --------- Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
1 parent 78a0026 commit e0d7938

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## Unreleased
6+
7+
### Fixed
8+
9+
- Declare a PEP 517 `[build-system]` in `pyproject.toml` so pip can build wheels from the source distribution with the correct package metadata (version and files), fixing installs with `pip install --no-binary rstream`. ([#270](https://github.com/rabbitmq-community/rstream/issues/270))
10+
511
## [[1.0.0](https://github.com/rabbitmq-community/rstream/releases/tag/v1.0.0)]
612

713
This release promotes rstream to 1.0 and includes producer exception handling improvements.

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
[build-system]
2+
requires = ["poetry-core>=2.3.2"]
3+
build-backend = "poetry.core.masonry.api"
4+
15
[tool.poetry]
26
name = "rstream"
3-
version = "1.0.0"
7+
version = "1.0.1"
48
description = "A python client for RabbitMQ Streams"
59
authors = ["Gabriele Santomaggio <g.santomaggio@gmail.com>", "George Fortunatov <qweeeze@gmail.com>", "Daniele Palaia <dpalaia@vmware.com>"]
610
readme = "README.md"

0 commit comments

Comments
 (0)