-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lock file maintenance Python dependencies #159
base: main
Are you sure you want to change the base?
Conversation
|
83f9b4b
to
925f685
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@carlcsaposs-canonical any ideas why lint is not happy here?
01e1a9e
to
1d3b59b
Compare
|
1d3b59b
to
20dd0f9
Compare
20dd0f9
to
33c0c94
Compare
33c0c94
to
1a09e29
Compare
1a09e29
to
cacf9b8
Compare
66a39db
to
f27b39d
Compare
473af02
to
76b8f8a
Compare
1c2e990
to
7f5bf70
Compare
814b971
to
e026879
Compare
e026879
to
e9a2f6c
Compare
This PR contains the following updates:
0.0.12
->0.0.43
43.0.1
->43.0.3
4.22.0
->4.23.0
^6.0.3, <6.0.4
->^6.1.7, <6.1.8
^1.9.0
->^1.9.1
1.10.17
->1.10.19
^8.2.2
->^8.3.3
^8.2.2
->^8.3.3
^0.35.0
->^0.38.0
^0.4.5
->^0.7.3
^0.4.5
->^0.7.3
🔧 This Pull Request updates lock files to use the latest dependency versions.
Release Notes
canonical/cos-lib (cosl)
v0.0.43
Compare Source
What's Changed
workload_tracing_protocols
as an arg by @michaeldmitry in https://github.com/canonical/cos-lib/pull/95New Contributors
Full Changelog: canonical/cos-lib@0.0.42...0.0.43
v0.0.42
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.41...0.0.42
v0.0.41
Compare Source
Add LogForwarder in coordinator
v0.0.40
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.39...0.0.40
v0.0.39
: Push root ca cert to workload containerCompare Source
v0.0.38
: bump release tag to match pyproject.tomlCompare Source
v0.0.37
: s3 TLS supportCompare Source
added support for s3 TLS
minor touches to coordinator status
v0.0.36
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.34...0.0.36
v0.0.34
: Fixed retry logic in worker objectCompare Source
v0.0.33
: refactored worker status logicCompare Source
refactored worker status logic
v0.0.32
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.31...0.0.32
v0.0.31
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.30...0.0.31
v0.0.30
: holistic worker logicCompare Source
refactored Worker logic to use a stateless reconciler function to avoid some pod-churn related race conditions
v0.0.29
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.28...0.0.29
v0.0.28
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.27...0.0.28
v0.0.27
Compare Source
unified config accessing logic so that it can be overridden by worker subclasses if a worker charm needs to preprocess its config on a per-unit basis
v0.0.26
Compare Source
What's Changed
remote write
endpoints to relation data by @michaeldmitry in https://github.com/canonical/cos-lib/pull/64Full Changelog: canonical/cos-lib@0.0.25...0.0.26
v0.0.25
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.24...0.0.25
v0.0.24
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.23...0.0.24
v0.0.23
: worker status checks TLS supportCompare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.22...0.0.23
v0.0.22
: Worker service status monitoringCompare Source
The main feature is an update to the Coordinator-Worker classes, introducing a pebble-checks-based API to monitor the health of the worker service and set application status accordingly.
This takes care of some bugs we experienced in the past where the worker would not start and the admin had no way to notice it if not to manually GET a /ready endpoint on the application IP.
What's Changed
Full Changelog: canonical/cos-lib@0.0.21...0.0.22
v0.0.21
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.20...0.0.21
v0.0.20
: Fix removeprefix for python3.8Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.19...0.0.20
v0.0.19
Compare Source
What's Changed
_PebbleLogClient
static method calls by @michaeldmitry in https://github.com/canonical/cos-lib/pull/41Full Changelog: canonical/cos-lib@0.0.18...0.0.19
v0.0.18
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.17...0.0.18
v0.0.17
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.16...0.0.17
v0.0.16
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.14...0.0.16
v0.0.15
Compare Source
What's Changed
New Contributors
Full Changelog: canonical/cos-lib@0.0.13...0.0.15
v0.0.14
Compare Source
v0.0.13
Compare Source
What's Changed
Full Changelog: canonical/cos-lib@0.0.12...0.0.13
pyca/cryptography (cryptography)
v43.0.3
Compare Source
python-jsonschema/jsonschema (jsonschema)
v4.23.0
Compare Source
=======
canonical/ops-scenario (ops-scenario)
v6.1.7
Compare Source
v6.1.6
Compare Source
v6.1.5
Compare Source
v6.1.4
Compare Source
v6.1.3
Compare Source
v6.1.2
Compare Source
v6.1.1
Compare Source
v6.1.0
Compare Source
v6.0.5
Compare Source
v6.0.4
Compare Source
python-poetry/poetry-core (poetry-core)
v1.9.1
Compare Source
Added
3.13
to the list of available Python versions (#747).pydantic/pydantic (pydantic)
v1.10.19
Compare Source
isinstance
check by @alicederyn in https://github.com/pydantic/pydantic/pull/10645v1.10.18
Compare Source
to_lower_camel
to__all__
inutils.py
by @sydney-runkle (direct commit)mypy
v1 plugin for mypy 1.11 release by @flaeppe in https://github.com/pydantic/pydantic/pull/10139.schema(by_alias=False)
by @exs-dwoodward in https://github.com/pydantic/pydantic/pull/10146pytest-dev/pytest (pytest)
v8.3.3
Compare Source
pytest 8.3.3 (2024-09-09)
Bug fixes
#12446: Avoid calling
@property
(and other instance descriptors) during fixture discovery -- byasottile
{.interpreted-text role="user"}#12659: Fixed the issue of not displaying assertion failure differences when using the parameter
--import-mode=importlib
in pytest>=8.1.#12667: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.
#12744: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by
Avasam
{.interpreted-text role="user"}#12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.
#6682: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in
assert condition, msg
).#9422: Fix bug where disabling the terminal plugin via
-p no:terminal
would cause crashes related to missing theverbose
option.-- by
GTowers1
{.interpreted-text role="user"}Improved documentation
Miscellaneous internal changes
v8.3.2
Compare Source
pytest 8.3.2 (2024-07-24)
Bug fixes
#12652: Resolve regression [conda]{.title-ref} environments where no longer being automatically detected.
-- by
RonnyPfannschmidt
{.interpreted-text role="user"}v8.3.1
Compare Source
pytest 8.3.1 (2024-07-20)
The 8.3.0 release failed to include the change notes and docs for the release. This patch release remedies this. There are no other changes.
v8.3.0
Compare Source
pytest 8.3.0 (2024-07-20)
New features
#12231: Added [--xfail-tb]{.title-ref} flag, which turns on traceback output for XFAIL results.
Some history:
With pytest 8.0, [-rx]{.title-ref} or [-ra]{.title-ref} would not only turn on summary reports for xfail, but also report the tracebacks for xfail results. This caused issues with some projects that utilize xfail, but don't want to see all of the xfail tracebacks.
This change detaches xfail tracebacks from [-rx]{.title-ref}, and now we turn on xfail tracebacks with [--xfail-tb]{.title-ref}. With this, the default [-rx]{.title-ref}/ [-ra]{.title-ref} behavior is identical to pre-8.0 with respect to xfail tracebacks. While this is a behavior change, it brings default behavior back to pre-8.0.0 behavior, which ultimately was considered the better course of action.
#12281: Added support for keyword matching in marker expressions.
Now tests can be selected by marker keyword arguments.
Supported values are
int
{.interpreted-text role="class"}, (unescaped)str
{.interpreted-text role="class"},bool
{.interpreted-text role="class"} &None
{.interpreted-text role="data"}.See
marker examples <marker_keyword_expression_example>
{.interpreted-text role="ref"} for more information.-- by
lovetheguitar
{.interpreted-text role="user"}#12567: Added
--no-fold-skipped
command line option.If this option is set, then skipped tests in short summary are no longer grouped
by reason but all tests are printed individually with their nodeid in the same
way as other statuses.
-- by
pbrezina
{.interpreted-text role="user"}Improvements in existing functionality
#12469: The console output now uses the "third-party plugins" terminology,
replacing the previously established but confusing and outdated
reference to
setuptools <setuptools:index>
{.interpreted-text role="std:doc"}-- by
webknjaz
{.interpreted-text role="user"}.#12544, #12545: Python virtual environment detection was improved by
checking for a
pyvenv.cfg
{.interpreted-text role="file"} file, ensuring reliable detection onvarious platforms -- by
zachsnickers
{.interpreted-text role="user"}.#2871: Do not truncate arguments to functions in output when running with [-vvv]{.title-ref}.
#389: The readability of assertion introspection of bound methods has been enhanced
-- by
farbodahm
{.interpreted-text role="user"},webknjaz
{.interpreted-text role="user"},obestwalter
{.interpreted-text role="user"},flub
{.interpreted-text role="user"}and
glyphack
{.interpreted-text role="user"}.Earlier, it was like:
And now it's like:
#7662: Added timezone information to the testsuite timestamp in the JUnit XML report.
Bug fixes
#11706: Fixed reporting of teardown errors in higher-scoped fixtures when using [--maxfail]{.title-ref} or [--stepwise]{.title-ref}.
Originally added in pytest 8.0.0, but reverted in 8.0.2 due to a regression in pytest-xdist.
This regression was fixed in pytest-xdist 3.6.1.
#11797:
pytest.approx
{.interpreted-text role="func"} now correctly handlesSequence <collections.abc.Sequence>
{.interpreted-text role="class"}-like objects.#12204, #12264: Fixed a regression in pytest 8.0 where tracebacks get longer and longer when multiple
tests fail due to a shared higher-scope fixture which raised -- by
bluetech
{.interpreted-text role="user"}.Also fixed a similar regression in pytest 5.4 for collectors which raise during setup.
The fix necessitated internal changes which may affect some plugins:
FixtureDef.cached_result[2]
is now a tuple(exc, tb)
instead of
exc
.SetupState.stack
failures are now a tuple(exc, tb)
instead of
exc
.#12275: Fixed collection error upon encountering an
abstract <abc>
{.interpreted-text role="mod"} class, including abstract [unittest.TestCase]{.title-ref} subclasses.#12328: Fixed a regression in pytest 8.0.0 where package-scoped parameterized items were not correctly reordered to minimize setups/teardowns in some cases.
#12424: Fixed crash with [assert testcase is not None]{.title-ref} assertion failure when re-running unittest tests using plugins like pytest-rerunfailures. Regressed in 8.2.2.
#12472: Fixed a crash when returning category
"error"
or"failed"
with a custom test status frompytest_report_teststatus
{.interpreted-text role="hook"} hook --pbrezina
{.interpreted-text role="user"}.#12505: Improved handling of invalid regex patterns in
pytest.raises(match=r'...') <pytest.raises>
{.interpreted-text role="func"} by providing a clear error message.#12580: Fixed a crash when using the cache class on Windows and the cache directory was created concurrently.
#6962: Parametrization parameters are now compared using [==]{.title-ref} instead of [is]{.title-ref} ([is]{.title-ref} is still used as a fallback if the parameter does not support [==]{.title-ref}).
This fixes use of parameters such as lists, which have a different [id]{.title-ref} but compare equal, causing fixtures to be re-computed instead of being cached.
#7166: Fixed progress percentages (the
[ 87%]
at the edge of the screen) sometimes not aligning correctly when running with pytest-xdist-n
.Improved documentation
#12153: Documented using
PYTEST_VERSION
{.interpreted-text role="envvar"} to detect if code is running from within a pytest run.#12469: The external plugin mentions in the documentation now avoid mentioning
setuptools entry-points <setuptools:index>
{.interpreted-text role="std:doc"} as the concept ismuch more generic nowadays. Instead, the terminology of "external",
"installed", or "third-party" plugins (or packages) replaces that.
-- by
webknjaz
{.interpreted-text role="user"}#12577: [CI]{.title-ref} and [BUILD_NUMBER]{.title-ref} environment variables role is discribed in
the reference doc. They now also appear when doing [pytest -h]{.title-ref}
-- by
MarcBresson
{.interpreted-text role="user"}.Contributor-facing changes
#12467: Migrated all internal type-annotations to the python3.10+ style by using the [annotations]{.title-ref} future import.
-- by
RonnyPfannschmidt
{.interpreted-text role="user"}#11771, #12557: The PyPy runtime version has been updated to 3.9 from 3.8 that introduced
a flaky bug at the garbage collector which was not expected to fix there
as the 3.8 is EoL.
-- by
x612skm
{.interpreted-text role="user"}#12493: The change log draft preview integration has been refactored to use a
third party extension
sphinxcontib-towncrier
. The previous in-reposcript was putting the change log preview file at
doc/en/_changelog_towncrier_draft.rst
{.interpreted-text role="file"}. Said file is no longerignored in Git and might show up among untracked files in the
development environments of the contributors. To address that, the
contributors can run the following command that will clean it up:
$ git clean -x -i -- doc/en/_changelog_towncrier_draft.rst
-- by
webknjaz
{.interpreted-text role="user"}#12498: All the undocumented
tox
environments now have descriptions.They can be listed in one's development environment by invoking
tox -av
in a terminal.-- by
webknjaz
{.interpreted-text role="user"}#12501: The changelog configuration has been updated to introduce more accurate
audience-tailored categories. Previously, there was a
trivial
change log fragment type with an unclear and broad meaning. It was
removed and we now have
contrib
,misc
andpackaging
inplace of it.
The new change note types target the readers who are downstream
packagers and project contributors. Additionally, the miscellaneous
section is kept for unspecified updates that do not fit anywhere else.
-- by
webknjaz
{.interpreted-text role="user"}#12502: The UX of the GitHub automation making pull requests to update the
plugin list has been updated. Previously, the maintainers had to close
the automatically created pull requests and re-open them to trigger the
CI runs. From now on, they only need to click the [Ready for review]{.title-ref}
button instead.
-- by
webknjaz
{.interpreted-text role="user"}#12522: The
:pull:
RST role has been replaced with a shorter:pr:
due to starting to use the implementation fromthe third-party
sphinx-issues
{.interpreted-text role="pypi"} Sphinx extension-- by
webknjaz
{.interpreted-text role="user"}.#12531: The coverage reporting configuration has been updated to exclude
pytest's own tests marked as expected to fail from the coverage
report. This has an effect of reducing the influence of flaky
tests on the resulting number.
-- by
webknjaz
{.interpreted-text role="user"}#12533: The
extlinks
Sphinx extension is no longer enabled. The:bpo:
role it used to declare has been removed with that. BPO itself has
migrated to GitHub some years ago and it is possible to link the
respective issues by using their GitHub issue numbers and the
:issue:
role that thesphinx-issues
extension implements.-- by
webknjaz
{.interpreted-text role="user"}#12562: Possible typos in using the
:user:
RST role is now being lintedthrough the pre-commit tool integration -- by
webknjaz
{.interpreted-text role="user"}.charmed-kubernetes/pytest-operator (pytest-operator)
v0.37.0
: 0.37.0Compare Source
astral-sh/ruff (ruff)
v0.7.3
Compare Source
Preview features
flake8-pyi
] Include all Python file types forPYI006
andPYI066
(#14059)flake8-simplify
] Implementsplit-of-static-string
(SIM905
) (#14008)refurb
] Implementsubclass-builtin
(FURB189
) (#14105)ruff
] Improve diagnostic messages and docs (RUF031
,RUF032
,RUF034
) (#14068)Rule changes
B033
,PLC0208
) (#14064)eradicate
] Better detection of IntelliJ language injection comments (ERA001
) (#14094)flake8-pyi
] Add autofix fordocstring-in-stub
(PYI021
) (#14150)flake8-pyi
] Updateduplicate-literal-member
(PYI062
) to alawys provide an autofix (#14188)pyflakes
] Detect items that hash to same value in duplicate dictionaries (F601
) (#14065)ruff
] Fix false positive for decorators (RUF028
) (#14061)Bug fixes
# noqa
(#12809)eradicate
] ignore# language=
in commented-out-code rule (ERA001) (#14069)flake8-bugbear
] - do not runmutable-argument-default
on stubs (B006
) (#14058)flake8-builtins
] Skip lambda expressions inbuiltin-argument-shadowing (A002)
(#14144)flake8-comprehension
] Also remove trailing comma while fixingC409
andC419
(#14097)flake8-simplify
] Allowopen
without context manager inreturn
statement (SIM115
) (#14066)pylint
] Respect hash-equivalent literals initeration-over-set
(PLC0208
) (#14063)pylint
] Update known dunder methods for Python 3.13 (PLW3201
) (#14146)pyupgrade
] - ignore kwarg unpacking forUP044
(#14053)refurb
] Parse more exotic decimal strings inverbose-decimal-constructor
(FURB157
) (#14098)Documentation
v0.7.2
Compare Source
Preview features
pyupgrade
] Add PEP 646Unpack
conversion to*
with fix (UP044
) (#13988)Rule changes
known_stdlibs.rs
with stdlibs 2024.10.25 (#13963)flake8-no-pep420
] Skip namespace package enforcement for PEP 723 scripts (INP001
) (#13974)Server
Bug fixes
flake8-type-checking
] Fix false positive forsingledispatchmethod
(TCH003
) (#13941)flake8-type-checking
] Treat return type ofsingledispatch
as runtime-required (TCH003
) (#13957)Documentation
flake8-simplify
] Include caveats of enablingif-else-block-instead-of-if-exp
(SIM108
) (#14019)v0.7.1
Compare Source
Preview features
E221
andE222
to flag missing or extra whitespace around==
operator (#13890)pylint
] Restrictiteration-over-set
to only work on sets of literals (PLC0208
) (#13731)Rule changes
flake8-type-checking
] Support auto-quoting when annotations contain quotes (#11811)Server
Bug fixes
ARG002
compatible withEM101
when raisingNotImplementedError
(#13714)Other changes
v0.7.0
Compare Source
Check out the blog post for a migration guide and overview of the changes!
Breaking changes
PT001
andPT023
now default to omitting the decorator parentheses when there are no arguments(#12838, #13292).
This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
See the blog post for more details.
useless-try-except
rule (in ourtryceratops
category) has been recoded fromTRY302
toTRY203
(#13502). This ensures Ruff's code is consistent withthe same rule in the
tryceratops
linter.lint.allow-unused-imports
setting has been removed (#13677). Uselint.pyflakes.allow-unused-imports
instead.
Formatter preview style
Preview linter features
refurb
] implementhardcoded-string-charset
(FURB156) (#13530)refurb
] Count codepoints not bytes forslice-to-remove-prefix-or-suffix (FURB188)
(#13631)Rule changes
pylint
] MarkPLE1141
fix as unsafe (#13629)flake8-async
] Consider async generators to be "checkpoints" forcancel-scope-no-checkpoint
(ASYNC100
) (#13639)flake8-bugbear
] Do not suggest setting parameterstrict=
toFalse
inB905
diagnostic message (#13656)flake8-todos
] Only flag the word "TODO", not words starting with "todo" (TD006
) (#13640)pycodestyle
] Fix whitespace-related false positives and false negatives inside type-parameter lists (E231
,E251
) (#13704)flake8-simplify
] Stabilize preview behavior forSIM115
so that the rule can detect filesbeing opened from a wider range of standard-library functions (#12959).
CLI
--statistics
command (#13774)Bug fixes
pyflakes
] Allowipytest
cell magic (F401
) (#13745)flake8-use-pathlib
] FixPTH123
false positive whenopen
is passed a file descriptor (#13616)flake8-bandit
] Detect patterns from multi line SQL statements (S608
) (#13574)flake8-pyi
] - Fix dropped expressions inPYI030
autofix (#13727)v0.6.9
Compare Source
Preview features
refurb
] MarkFURB118
fix as unsafe (#13613)Rule changes
pydocstyle
] Don't raiseD208
when last line is non-empty (#13372)pylint
] Preserve trivia (i.e. comments) inPLR5501
autofix (#13573)Configuration
pyflakes
] Addallow-unused-imports
setting forunused-import
rule (F401
) (#13601)Bug fixes
flake8-bugbear
] Avoid short circuitingB017
for multiple context managers ([#13609](https://redirect.github.com/astral-sh/rConfiguration
📅 Schedule: Branch creation - "after 1am and before 3am every weekday" in timezone Etc/UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.