Skip to content

Commit

Permalink
Set swig to >= 4.2 and < 4.3 for all builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernrennfanz committed Nov 25, 2024
1 parent 775d754 commit 669b686
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ You need a few more things to compile pypylon:
* An installation of pylon SDK for your platform
* A compiler for your system (Visual Studio on Windows, gcc on linux, xCode commandline tools on macOS)
* Python development files (e.g. `sudo apt install python-dev` on linux)
* [swig](http://www.swig.org) >= 4.2
* For all 64bit platforms you can install the tool via `pip install swig`
* [swig](http://www.swig.org) >= 4.2 and < 4.3
* For all 64bit platforms you can install the tool via `pip install "swig>=4.2,<4.3"`

To build pypylon from source:
```console
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42,<72", "swig>=4.2", "wheel"]
requires = ["setuptools>=42,<72", "swig>=4.2,<4.3", "wheel"]
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
Expand Down
2 changes: 1 addition & 1 deletion scripts/build/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN if cat /etc/debian_version | grep -q "8\." ; then \
RUN pip install wheel 'auditwheel<=5.1.2'

# install swig from pypi
RUN pip install swig>=4.2
RUN pip install "swig>=4.2,<4.3"
# install setuptools
RUN pip install "setuptools<72" --upgrade

Expand Down
2 changes: 1 addition & 1 deletion scripts/build/Dockerfile.manylinux
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY --from=qemu /usr/bin/* /usr/bin/


# install pip from pypi
RUN pip install swig>=4.2
RUN pip install "swig>=4.2,<4.3"

# install setuptools
RUN pip install "setuptools<72" --upgrade
Expand Down

0 comments on commit 669b686

Please sign in to comment.