Skip to content

Commit

Permalink
Add temporary workaround for issue 117 of cffi
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Aug 28, 2024
1 parent a7b1aa1 commit 7bcef2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/rust_with_cffi/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ def test(session: nox.Session):
except nox.command.CommandFailed:
session.skip("cffi not available on this platform")

session.install("setuptools<74.0.0")
# TODO: Remove custom installation once python-cffi/cffi#117 is solved

# Ensure build uses version of setuptools-rust under development
session.install("--no-build-isolation", ".")
# Test Python package
Expand Down
6 changes: 5 additions & 1 deletion examples/rust_with_cffi/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build-system]
requires = ["setuptools", "setuptools-rust", "cffi"]
requires = [
"setuptools<74.0.0", # TODO: Remove pin once python-cffi/cffi#117 is solved
"setuptools-rust",
"cffi"
]
build-backend = "setuptools.build_meta"

0 comments on commit 7bcef2a

Please sign in to comment.