Skip to content

Commit 6e0fff3

Browse files
Merged PR 29657: Prepare for pypylon 4.1.0 release
Related work items: #728
2 parents 1ea75b1 + a2d318d commit 6e0fff3

File tree

6 files changed

+45
-16
lines changed

6 files changed

+45
-16
lines changed

.github/ISSUE_TEMPLATE/1-support-request.yml

+29-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ body:
3838

3939
- type: textarea
4040
attributes:
41-
label: "Hardware setup & camera model(s) used"
41+
label: "Hardware setup used"
4242
description: >
43-
List the camera model names involved in this support request.
4443
Describe your hardware setup including, e.g.,:
4544
4645
* PC or embedded system model/type:
@@ -51,9 +50,37 @@ body:
5150
* Type in type/model/name of interface cards
5251
* Switches or hubs used
5352
* Cable types/lengths
53+
placeholder: |
54+
<< Hardware setup used >>
5455
validations:
5556
required: true
5657

58+
- type: textarea
59+
attributes:
60+
label: "Camera(s) used"
61+
description: >
62+
List your camera(s), especially the value of DeviceFirmwareVersion.
63+
The command below will output all the required information.
64+
65+
```python
66+
import pypylon.pylon as py
67+
68+
tl_factory = py.TlFactory.GetInstance()
69+
for dev in tl_factory.EnumerateDevices():
70+
dev: py.DeviceInfo
71+
print(dev.GetFriendlyName())
72+
try:
73+
camera = py.InstantCamera(tl_factory.CreateDevice(dev))
74+
camera.Open()
75+
print(camera.DeviceFirmwareVersion.Value)
76+
camera.Close()
77+
except (py.LogicalErrorException, py.RuntimeException) as error:
78+
print(f"Error reading camera info: {error}")
79+
```
80+
placeholder: |
81+
<< Camera(s) used >>
82+
validations:
83+
required: true
5784

5885
- type: textarea
5986
attributes:

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@ To install pypylon open your favourite terminal and run:
130130

131131
The following versions are available on pypi:
132132

133-
| | 3.9 | 3.10 | 3.11 | 3.12 |
134-
|----------------|-----|------|------|------|
135-
| Windows 64bit | x | x | x | x |
136-
| Linux x86_64* | x | x | x | x |
137-
| Linux aarch64* | x | x | x | x |
138-
| macOS x86_64** | x | x | x | x |
139-
| macOS arm64** | x | x | x | x |
133+
| | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 |
134+
|----------------|-----|------|------|------|------|
135+
| Windows 64bit | x | x | x | x | x |
136+
| Linux x86_64* | x | x | x | x | x |
137+
| Linux aarch64* | x | x | x | x | x |
138+
| macOS x86_64** | x | x | x | x | x |
139+
| macOS arm64** | x | x | x | x | x |
140140

141141

142142
> Additional Notes on binary packages:
@@ -152,8 +152,8 @@ You need a few more things to compile pypylon:
152152
* An installation of pylon SDK for your platform
153153
* A compiler for your system (Visual Studio on Windows, gcc on linux, xCode commandline tools on macOS)
154154
* Python development files (e.g. `sudo apt install python-dev` on linux)
155-
* [swig](http://www.swig.org) >= 4.2
156-
* For all 64bit platforms you can install the tool via `pip install swig`
155+
* [swig](http://www.swig.org) >= 4.2 and < 4.3
156+
* For all 64bit platforms you can install the tool via `pip install "swig>=4.2,<4.3"`
157157

158158
To build pypylon from source:
159159
```console

changelog.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Version 4.1.0rc1
2-
- Date 2024-11-22
1+
Version 4.1.0
2+
- Date 2024-11-25
33
- Updated to pylon Camera Software Suite 8.0.1 on linux and windows.
44
This contains pylon C++ SDK 9.0.3 and pylon Data Processing C++ SDK 3.0.1.
55
- Update to pylon 7.3.2 on macOS, which fixed a bug that caused a data encoding
@@ -8,6 +8,8 @@ Version 4.1.0rc1
88
- Removed PylonImage.AttachUserBuffer
99
- Added PylonImage.AttachMemoryView
1010
- Added PylonImage.AttachArray
11+
- Added support for python 3.13
12+
- Update README.md
1113

1214
Version 4.0.0
1315
- Date 2024-07-08

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=42,<72", "swig>=4.2", "wheel"]
2+
requires = ["setuptools>=42,<72", "swig>=4.2,<4.3", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.cibuildwheel]

scripts/build/Dockerfile.debian

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN if cat /etc/debian_version | grep -q "8\." ; then \
2121
RUN pip install wheel 'auditwheel<=5.1.2'
2222

2323
# install swig from pypi
24-
RUN pip install swig>=4.2
24+
RUN pip install "swig>=4.2,<4.3"
2525
# install setuptools
2626
RUN pip install "setuptools<72" --upgrade
2727

scripts/build/Dockerfile.manylinux

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY --from=qemu /usr/bin/* /usr/bin/
99

1010

1111
# install pip from pypi
12-
RUN pip install swig>=4.2
12+
RUN pip install "swig>=4.2,<4.3"
1313

1414
# install setuptools
1515
RUN pip install "setuptools<72" --upgrade

0 commit comments

Comments
 (0)