diff --git a/.github/ISSUE_TEMPLATE/1-support-request.yml b/.github/ISSUE_TEMPLATE/1-support-request.yml index 1901538..9d7e02b 100644 --- a/.github/ISSUE_TEMPLATE/1-support-request.yml +++ b/.github/ISSUE_TEMPLATE/1-support-request.yml @@ -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: @@ -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: diff --git a/README.md b/README.md index 8ab7f9a..a6c6675 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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 diff --git a/changelog.txt b/changelog.txt index 3f4f4f0..ea6e360 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 @@ -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 diff --git a/pyproject.toml b/pyproject.toml index e83e2ea..e3f11bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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] diff --git a/scripts/build/Dockerfile.debian b/scripts/build/Dockerfile.debian index 5f680a3..c37aa8c 100644 --- a/scripts/build/Dockerfile.debian +++ b/scripts/build/Dockerfile.debian @@ -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 diff --git a/scripts/build/Dockerfile.manylinux b/scripts/build/Dockerfile.manylinux index 8c5cebd..caf04b6 100644 --- a/scripts/build/Dockerfile.manylinux +++ b/scripts/build/Dockerfile.manylinux @@ -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