You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GitHub Action script currently allows the user to pin Darker itself to a given version using the version: option (see action/main.py).
Darker's dependencies, however, only specify minimum versions in install_requires and extras_require in setup.cfg, such as:
black>=21.7b1
flynt>=0.76
isort>=5.0.1
We use internal Python APIs from each of those packages. Black doesn't even define a public Python API (yet; see psf/black#779). We use Python APIs instead of calling these tools as subprocesses for performance and flexibility reasons.
Breaking changes have occurred in the past for Black, isort and Flynt, see:
Since Darker 1.4.1, we do guard against backwards incompatible internal changes in Black and isort by running a test-future workflow weekly and also as part of push triggered builds. So we will get an early warning if it seems an incompatibility is coming up in the next Black or Flynt release. See #186 and #284 for details.
For flynt we don't currently have the same mechanism in place.
We should thus add flynt@main to be used in the test-future workflow, similar to what was done for isort in #296.
The text was updated successfully, but these errors were encountered:
The GitHub Action script currently allows the user to pin Darker itself to a given version using the
version:
option (see action/main.py).Darker's dependencies, however, only specify minimum versions in install_requires and extras_require in
setup.cfg
, such as:We use internal Python APIs from each of those packages. Black doesn't even define a public Python API (yet; see psf/black#779). We use Python APIs instead of calling these tools as subprocesses for performance and flexibility reasons.
Breaking changes have occurred in the past for Black, isort and Flynt, see:
Since Darker 1.4.1, we do guard against backwards incompatible internal changes in Black and isort by running a test-future workflow weekly and also as part of push triggered builds. So we will get an early warning if it seems an incompatibility is coming up in the next Black or Flynt release. See #186 and #284 for details.
For flynt we don't currently have the same mechanism in place.
We should thus add
flynt@main
to be used in thetest-future
workflow, similar to what was done forisort
in #296.The text was updated successfully, but these errors were encountered: