Dennis-van-Gils / python-dvg-pyqtgraph-threadsafe

PyQtGraph library providing thread-safe plot curves with underlying (ring) buffers: HistoryChartCurve, BufferedPlotCurve & PlotCurve.
https://pypi.org/project/dvg-pyqtgraph-threadsafe/
MIT License
9 stars 7 forks source link

Update dvg-qdeviceio requirement from ~=1.2 to ~=1.4 #5

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Updates the requirements on dvg-qdeviceio to permit the latest version.

Release notes

Sourced from dvg-qdeviceio's releases.

PyPi v1.4.0

Major code quality improvements:

  • Using qtpy library instead of my own Qt5/6 mechanism
  • Improved _NoDevice mechanism
  • Removed redundant attach_device()
  • Extra check in Worker_jobs if func is actually a callable
  • Using singletons Uninitialized_Worker_DAQ/jobs as default attribute values instead of using None. This solves pylint warnings on '... is not a known attribute of None'.
  • Docstring improvement: create_worker_DAQ/jobs() show full info now
  • Docstring improvement: Linking against PySide6, instead of PyQt5
  • Improved code quality of the pytest

Potential code breaks:

  • Removed Python 3.6 support

  • The methods of Worker_DAQ and Worker_jobs have been hidden from the API and are dundered now. You should not have been calling them anyhow outside of this module. Their functionality was and is still available as safer methods available at the root level of QDeviceIO(). Specifically::

    Worker_DAQ.pause() --> Worker_DAQ._set_pause_true() , should use pause_DAQ() Worker_DAQ.unpause() --> Worker_DAQ._set_pause_false() , should use unpause_DAQ() Worker_DAQ.wake_up() --> Worker_DAQ._wake_up() , should use wake_up_DAQ() Worker_jobs.send() --> Worker_jobs._send() , should use send() Worker_jobs.add_to_queue --> Worker_jobs._add_to_queue() , should use add_to_queue() Worker_jobs.process_queue --> Worker_jobs._process_queue() , should use process_queue()

Changelog

Sourced from dvg-qdeviceio's changelog.

1.4.0 (2024-06-12)

Major code quality improvements:

  • Using qtpy library instead of my own Qt5/6 mechanism
  • Improved _NoDevice mechanism
  • Removed redundant attach_device()
  • Extra check in Worker_jobs if func is actually a callable
  • Using singletons Uninitialized_Worker_DAQ/jobs as default attribute values instead of using None. This solves pylint warnings on '... is not a known attribute of None'.
  • Docstring improvement: create_worker_DAQ/jobs() show full info now
  • Docstring improvement: Linking against PySide6, instead of PyQt5
  • Improved code quality of the pytest

Potential code breaks:

  • Removed Python 3.6 support

  • The methods of Worker_DAQ and Worker_jobs have been hidden from the API and are dundered now. You should not have been calling them anyhow outside of this module. Their functionality was and is still available as safer methods available at the root level of QDeviceIO(). Specifically::

    Worker_DAQ.pause() --> Worker_DAQ._set_pause_true() , should use pause_DAQ() Worker_DAQ.unpause() --> Worker_DAQ._set_pause_false() , should use unpause_DAQ() Worker_DAQ.wake_up() --> Worker_DAQ._wake_up() , should use wake_up_DAQ() Worker_jobs.send() --> Worker_jobs._send() , should use send() Worker_jobs.add_to_queue --> Worker_jobs._add_to_queue() , should use add_to_queue() Worker_jobs.process_queue --> Worker_jobs._process_queue() , should use process_queue()

1.3.0 (2024-04-02)

  • Support Python 3.11
  • All f-strings
  • Type checking via isinstance(), not type == ...

1.2.0 (2023-02-27)

  • Deprecated requires.io and travis
  • Raise ImportError instead of general Exception

1.1.2 (2022-10-26)

  • Minor refactor of mechanism to support PyQt5, PyQt6, PySide2 and PySide6

1.1.1 (2022-09-14)

  • Forgot to bump requirement dvg-debug-functions~=2.2 to ensure support for PyQt5, PyQt6, PySide2 and PySide6

... (truncated)

Commits
  • 227ed09 Typo
  • cc74781 Hidden the methods of Worker_DAQ and Worker_jobs from the API
  • 26813ac Improved docstr
  • 426a412 Removed @Slot() decorators
  • e1c6498 Improved _NoDevice mechanism
  • af48c3d Handle special case critical_not_alive_count==0
  • 7e30342 Added missing members to _NoDevice
  • 8ae1084 Update example.rst
  • a83f6d2 Update python-package.yml
  • 00cbb84 Fix pylance warning on singleton
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)