Skip to content

Update fastcs requirement from ~=0.8.0 to >=0.8,<0.13 in the dev-dependencies group across 1 directory#32

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/dev-dependencies-c31314580e
Open

Update fastcs requirement from ~=0.8.0 to >=0.8,<0.13 in the dev-dependencies group across 1 directory#32
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/dev-dependencies-c31314580e

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 20, 2026

Updates the requirements on fastcs to permit the latest version.
Updates fastcs to 0.12.0

Release notes

Sourced from fastcs's releases.

0.12.0

Breaking Changes

  • EpicsCAIOC options parameter removed - The options parameter has been removed from EpicsCAIOC(pv_prefix, controller_api, options=...)
    • Pass EPICS options via the transport config instead.
  • AttrR.update() validates before calling callbacks - If validation fails, an error is logged and the value is not updated.
  • DATATYPE_DTYPES removed - Replaced by the DType union.
    • use DType instead.
  • bind_logger removed from public API - bind_logger has been removed
    • from fastcs.logging import bind_logger; bind_logger(...) -> from fastcs.logging import logger
  • ControllerVector is now generic on Controller_T
    • ControllerVector must now be parameterised with a specific Controller
  • add_on_update_callback(always=False) - always flag added to AttrR.add_on_update_callback to let callbacks fire even when the value hasn't changed. The default is now to not fire the callback if the value has not changed, the previous behaviour was always=True.

Fixes

  • AttrRW setpoint callbacks called with validated value - Sync setpoint callbacks in AttrRW now receive self._value (the validated value) rather than the raw input.
  • 2D+ Waveforms skipped in EPICS CA - Multi-dimensional waveforms are skipped (with a warning) in the EPICS CA transport rather than raising an error. This allows serving 2D waveforms in PVA alongside CA.

New Features

  • AttrR.wait_for_value / wait_for_predicate - New async methods on AttrR to block until an attribute reaches a target value or satisfies a custom predicate, with a timeout.
  • DataType.equal / DataType.all_equal - Static helper methods on all DataType subclasses to compare values correctly (e.g. using np.array_equal for array types).
  • DType union type - Replaces the old DATATYPE_DTYPES tuple. DType is a proper union type alias; DType_T is now TypeVar("DType_T", bound=DType).
  • Improved scan task handling / reconnect - Scan tasks are now paused on exception and can be restarted with Controller.reconnect, rather than requiring restarting the entire application.
    • Note: To make use of this overridden Controller.connect methods must now set self._connected = True, and Controller.reconnect should be implemented to restore the connection for scan tasks - by default reconnect will just start the scan tasks again
    • reconnect() can be called in the interactive shell, or a driver can implement a @scan method that checks for disconnect and automatically handles reconnection.
  • Logger uses file path and line numbers - Log messages now include source file path and line number for easier debugging.

Other

  • Package rename: FastCSfastcs

What's Changed

... (truncated)

Commits
  • afcbf45 Update to copier 5.0.2 and rename FastCS -> fastcs (#335)
  • 4d61641 Improve handling of failed scan tasks and allow reconnect (#332)
  • 5fc0836 refactor: make ControllerVector generic on Controller_T (#326)
  • 5ed503e Validate hinted methods (#320)
  • aff6341 Log error when AttrR fails to validate value in update (#330)
  • 1008960 313 make logger use file path and line (#323)
  • dbb85c4 Refactor EPICS CA record creation (#319)
  • 02d634a Pass attribute instead of datatype into _get_read_widget (#321)
  • 4992357 Remove unused options parameter from EpicsCAIOC (#322)
  • 5d6b41c Skip 2D+ Waveforms in EPICS CA Transport (#316)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [fastcs](https://github.com/DiamondLightSource/fastcs) to permit the latest version.

Updates `fastcs` to 0.12.0
- [Release notes](https://github.com/DiamondLightSource/fastcs/releases)
- [Commits](DiamondLightSource/fastcs@0.8.0...0.12.0)

---
updated-dependencies:
- dependency-name: fastcs
  dependency-version: 0.12.0
  dependency-type: direct:production
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants