Skip to content

Commit

Permalink
Merged PR 29657: Prepare for pypylon 4.1.0 release
Browse files Browse the repository at this point in the history
Related work items: #728
  • Loading branch information
bjoernrennfanz committed Nov 25, 2024
2 parents 1ea75b1 + a2d318d commit 6e0fff3
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 16 deletions.
31 changes: 29 additions & 2 deletions .github/ISSUE_TEMPLATE/1-support-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ body:

- type: textarea
attributes:
label: "Hardware setup & camera model(s) used"
label: "Hardware setup used"
description: >
List the camera model names involved in this support request.
Describe your hardware setup including, e.g.,:
* PC or embedded system model/type:
Expand All @@ -51,9 +50,37 @@ body:
* Type in type/model/name of interface cards
* Switches or hubs used
* Cable types/lengths
placeholder: |
<< Hardware setup used >>
validations:
required: true

- type: textarea
attributes:
label: "Camera(s) used"
description: >
List your camera(s), especially the value of DeviceFirmwareVersion.
The command below will output all the required information.
```python
import pypylon.pylon as py
tl_factory = py.TlFactory.GetInstance()
for dev in tl_factory.EnumerateDevices():
dev: py.DeviceInfo
print(dev.GetFriendlyName())
try:
camera = py.InstantCamera(tl_factory.CreateDevice(dev))
camera.Open()
print(camera.DeviceFirmwareVersion.Value)
camera.Close()
except (py.LogicalErrorException, py.RuntimeException) as error:
print(f"Error reading camera info: {error}")
```
placeholder: |
<< Camera(s) used >>
validations:
required: true

- type: textarea
attributes:
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ To install pypylon open your favourite terminal and run:

The following versions are available on pypi:

| | 3.9 | 3.10 | 3.11 | 3.12 |
|----------------|-----|------|------|------|
| Windows 64bit | x | x | x | x |
| Linux x86_64* | x | x | x | x |
| Linux aarch64* | x | x | x | x |
| macOS x86_64** | x | x | x | x |
| macOS arm64** | x | x | x | x |
| | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 |
|----------------|-----|------|------|------|------|
| Windows 64bit | x | x | x | x | x |
| Linux x86_64* | x | x | x | x | x |
| Linux aarch64* | x | x | x | x | x |
| macOS x86_64** | x | x | x | x | x |
| macOS arm64** | x | x | x | x | x |


> Additional Notes on binary packages:
Expand All @@ -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
6 changes: 4 additions & 2 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Version 4.1.0rc1
- Date 2024-11-22
Version 4.1.0
- Date 2024-11-25
- Updated to pylon Camera Software Suite 8.0.1 on linux and windows.
This contains pylon C++ SDK 9.0.3 and pylon Data Processing C++ SDK 3.0.1.
- Update to pylon 7.3.2 on macOS, which fixed a bug that caused a data encoding
Expand All @@ -8,6 +8,8 @@ Version 4.1.0rc1
- Removed PylonImage.AttachUserBuffer
- Added PylonImage.AttachMemoryView
- Added PylonImage.AttachArray
- Added support for python 3.13
- Update README.md

Version 4.0.0
- Date 2024-07-08
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 6e0fff3

Please sign in to comment.