Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python-nidaqmx (1.2.0) unstable; urgency=medium

* Starting debian packaging

-- Cedric Boudinet <[email protected]> Mon, 06 Jan 2025 12:47:31 +0100
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12
22 changes: 22 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Source: python-nidaqmx
Section: python
Priority: optional
Maintainer: "Cedric Boudinet" <[email protected]>
Build-Depends:
python3-all,
dh-python,
pybuild-plugin-pyproject,
python3-deprecation,
python3-pytest-mock,
python3-pykka,
python3-tzlocal,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like Debian stable still has tzlocal 4.x: https://packages.debian.org/en/bookworm/python3-tzlocal

tzlocal broke compatibility in versions 4.0 and 5.0 ( https://pypi.org/project/tzlocal/ ) and we haven't tested nidaqmx with tzlocal 4.x. Do the nidaqmx tests pass with this version?

python3-decouple,
python3-hightime,
Comment on lines +9 to +14
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The nidaqmx package uses deprecation, tzlocal, decouple, and hightime at run time, not only for build/tests. I expect to get ImportError without these installed.

python3-poetry,

Package: python3-nidaqmx
Architecture: all
Depends:
python3-numpy
Description: NI-DAQmx Python API

5 changes: 5 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/make -f


%:
dh $@ --with python3 --buildsystem=pybuild