Seed-Farmer is an orchestration tool that works with AWS CodeSeeder and acts as an orchestration tool modeled after GitOps deployments. It has a CommandLine Interface based in Python, leverages modular code deployments defined by declarative manifests, and includes change detection and deployment optimization.
Miscellaneous:
* DynamoDB: query() now handles pagination correctly on a GSI without a range key
* IAM: create_policy() now returns tags correctly
* S3: list_objects(): The default value for MaxKeys can now be configured, using an environment variable:
MOTO_S3_DEFAULT_MAX_KEYS=1
5.0.8
Docker Digest for 5.0.8: sha256:cfcd97074011bd563cdbeebac35ed710581a23cb2be07ab9b67aa00298fc3369
General:
* Improved support for non-generic partitions (China, GovCloud, ISO-regions).
All ARN's now contain the correct partition for resources created in those regions.
Miscellaneous:
* ResilienceHub: list_app_assessments() can now return pre-configured results
* ResourceGroupTagging: get_resources() now returns results when filtering on "lambda:function"
* S3: delete_object_tagging()/put_object_tagging() now send an EventBridge notification
5.0.7
Docker Digest for 5.0.7: sha256:81ac52ff74b0bf0f4957ee4260e6a7e75d66c9e5d040ed4f721a5500b873c88a
We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Support TypeIs (PEP 742)
Mypy now supports TypeIs (PEP 742), which allows
functions to narrow the type of a value, similar to isinstance(). Unlike TypeGuard,
TypeIs can narrow in both the if and else branches of an if statement:
This is mostly an internal change that should go unnoticed by most
users, especially those upgrading through pip or a software
distribution. import pydot should work as it did before.
Special cases:
import dot_parser no longer works. Change it to
from pydot import dot_parser or see if you can use the wrappers
pydot.graph_from_dot_data() or pydot.graph_from_dot_file().
USER FEEDBACK REQUESTED
We assume pydot users do not often directly import dot_parser.
If you do, please report your reasons, so that we can consider
making it available again before the final release of pydot 2.0:
pydot/pydot#230
If you use pydot from a (cloned) pydot source tree:
The pydot source modules moved from the top directory to
subdirectory src/pydot/.
When using a PYTHONPATH environment variable: Append /src,
e.g. PYTHONPATH=~/Development/pydot/src. If you need to switch
between pydot 1.x and pydot 2.x, add both, e.g.
PYTHONPATH=~/Development/pydot/src:~/Development/pydot
When using an editable install (development mode): Re-run
pip install -e . from the top directory of the source tree to
update the links.
For users of the test suite:
The test suite no longer refuses to run from the top of the
source tree.
This makes the test suite option --no-check redundant. It has
#12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
#12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
#12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.
Improved Documentation
#12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
#12356: Added a subsection to the documentation for debugging flaky tests to mention
lack of thread safety in pytest as a possible source of flakyness.
#12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
8.2.1
pytest 8.2.1 (2024-05-19)
Improvements
#12334: Support for Python 3.13 (beta1 at the time of writing).
Bug Fixes
#12120: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.
#12191: Keyboard interrupts and system exits are now properly handled during the test collection.
#12300: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.
#12308: Fix a regression in pytest 8.2.0 where the permissions of automatically-created .pytest_cache directories became rwx------ instead of the expected rwxr-xr-x.
Trivial/Internal Changes
#12333: pytest releases are now attested using the recent Artifact Attestation support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.
8.2.0
pytest 8.2.0 (2024-04-27)
Deprecations
#12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated py.path.local parameter instead of the pathlib.Path parameter which replaced it:
Removed support for xdist rsync (now deprecated).
Contributed by Matthias Reichenbach in [#623](https://github.com/pytest-dev/pytest-cov/issues/623) <https://github.com/pytest-dev/pytest-cov/pull/623>_.
Switched docs theme to Furo.
Various legacy Python cleanup and CI improvements.
Contributed by Christian Clauss and Hugo van Kemenade in
[#630](https://github.com/pytest-dev/pytest-cov/issues/630) <https://github.com/pytest-dev/pytest-cov/pull/630>,
[#631](https://github.com/pytest-dev/pytest-cov/issues/631) <https://github.com/pytest-dev/pytest-cov/pull/631>,
[#632](https://github.com/pytest-dev/pytest-cov/issues/632) <https://github.com/pytest-dev/pytest-cov/pull/632>_ and
[#633](https://github.com/pytest-dev/pytest-cov/issues/633) <https://github.com/pytest-dev/pytest-cov/pull/633>_.
Added a pyproject.toml example in the docs.
Contributed by Dawn James in [#626](https://github.com/pytest-dev/pytest-cov/issues/626) <https://github.com/pytest-dev/pytest-cov/pull/626>_.
Modernized project's pre-commit hooks to use ruff. Initial POC contributed by
Christian Clauss in [#584](https://github.com/pytest-dev/pytest-cov/issues/584) <https://github.com/pytest-dev/pytest-cov/pull/584>_.
4.1.0 (2023-05-24)
Updated CI with new Pythons and dependencies.
Removed rsyncdir support. This makes pytest-cov compatible with xdist 3.0.
Contributed by Sorin Sbarnea in [#558](https://github.com/pytest-dev/pytest-cov/issues/558) <https://github.com/pytest-dev/pytest-cov/pull/558>_.
Optimized summary generation to not be performed if no reporting is active (for example,
when --cov-report='' is used without --cov-fail-under).
Contributed by Jonathan Stewmon in [#589](https://github.com/pytest-dev/pytest-cov/issues/589) <https://github.com/pytest-dev/pytest-cov/pull/589>_.
Added support for JSON reporting.
Contributed by Matthew Gamble in [#582](https://github.com/pytest-dev/pytest-cov/issues/582) <https://github.com/pytest-dev/pytest-cov/pull/582>_.
Refactored code to use f-strings.
Contributed by Mark Mayo in [#572](https://github.com/pytest-dev/pytest-cov/issues/572) <https://github.com/pytest-dev/pytest-cov/pull/572>_.
Fixed a skip in the test suite for some old xdist.
Contributed by a bunch of people in [#565](https://github.com/pytest-dev/pytest-cov/issues/565) <https://github.com/pytest-dev/pytest-cov/pull/565>_.
#415: MockType and AsyncMockType can be imported from pytest_mock for type annotation purposes.
#420: Fixed a regression which would cause mocker.patch.object to not being properly cleared between tests.
v3.13.0
#417: spy now has spy_return_list, which is a list containing all the values returned by the spied function.
pytest-mock now requires pytest>=6.2.5.
#410: pytest-mock's setup.py file is removed.
If you relied on this file, e.g. to install pytest using setup.py install,
please see Why you shouldn't invoke setup.py directly for alternatives.
v3.12.0
Added support for Python 3.12.
Dropped support for EOL Python 3.7.
mocker.resetall() now also resets mocks created by mocker.create_autospec (#390).
v3.11.1
Fixed introspection for failed assert_has_calls (#365).
Updated type annotations for mocker.patch and mocker.spy (#364).
[#415](https://github.com/pytest-dev/pytest-mock/issues/415) <https://github.com/pytest-dev/pytest-mock/pull/415>_: MockType and AsyncMockType can be imported from pytest_mock for type annotation purposes.
[#420](https://github.com/pytest-dev/pytest-mock/issues/420) <https://github.com/pytest-dev/pytest-mock/issues/420>_: Fixed a regression which would cause mocker.patch.object to not being properly cleared between tests.
3.13.0 (2024-03-21)
[#417](https://github.com/pytest-dev/pytest-mock/issues/417) <https://github.com/pytest-dev/pytest-mock/pull/417>_: spy now has spy_return_list, which is a list containing all the values returned by the spied function.
pytest-mock now requires pytest>=6.2.5.
[#410](https://github.com/pytest-dev/pytest-mock/issues/410) <https://github.com/pytest-dev/pytest-mock/pull/410>: pytest-mock's setup.py file is removed.
If you relied on this file, e.g. to install pytest using setup.py install,
please see Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary> for alternatives.
3.12.0 (2023-10-19)
Added support for Python 3.12.
Dropped support for EOL Python 3.7.
mocker.resetall() now also resets mocks created by mocker.create_autospec ([#390](https://github.com/pytest-dev/pytest-mock/issues/390)_).
Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#11457)
Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#11457)
Use email.message instead of cgi as cgi has been deprecated ([#969](https://github.com/pypa/twine/issues/969) <https://github.com/pypa/twine/issues/969>_)
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 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the development-dependencies group with 11 updates:
4.0.13
5.0.9
0.991
1.10.0
6.14.0
7.4.1
1.4.2
2.0.0
7.2.2
8.2.2
4.0.0
5.0.0
3.10.0
3.14.0
0.4.4
0.4.8
4.0.2
5.1.0
6.0.12.12
6.0.12.20240311
57.4.18
70.0.0.20240524
Updates
moto[codebuild,iam,s3,secretsmanager,ssm,sts]
from 4.0.13 to 5.0.9Changelog
Sourced from moto[codebuild,iam,s3,secretsmanager,ssm,sts]'s changelog.
... (truncated)
Commits
411127b
Prep release 5.0.9 (#7733)e2e4ce4
EC2: Fix inconsistent private/public key pair attribute (#7732)4c098ae
S3: Fix recursion for buckets in different partition (#7731)d3dbf15
DynamoDB: query() should handle GSI's without range key (#7729)b19afe8
IAM: create_policy() should return tags in correct format (#7728)c637076
SSOAdmin: Default Instance and provisioning of permission sets (#7727)1bd6b31
Fix BackendDict instantiation service names (#7723)c9613cd
Bump ruby/setup-ruby from 1.176.2 to 1.177.1 (#7722)3300d99
S3: list_object_versions() - Default value for MaxKeys can now be configured ...9c8387a
Post-release stepsUpdates
mypy
from 0.991 to 1.10.0Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
3faf0fc
Remove +dev for version for release 1.10a5998d2
Update CHANGELOG.md (#17159)62ea5b0
Various updates to changelog for 1.10 (#17158)2f0864c
Update CHANGELOG.md with draft for release 1.10 (#17150)e1443bb
fix: incorrect returned type of access descriptors on unions of types (#16604)5161ac2
Sync typeshed (#17124)e2fc1f2
Fix crash when expanding invalid Unpack in aCallable
alias (#17028)3ff6e47
Docs: docstrings in checker.py, ast_helpers.py (#16908)732d98e
Fix string formatting for string enums (#16555)8019010
Narrow individual items when matching a tuple to a sequence pattern (#16905)Updates
pip-tools
from 6.14.0 to 7.4.1Release notes
Sourced from pip-tools's releases.
... (truncated)
Changelog
Sourced from pip-tools's changelog.
... (truncated)
Commits
60ebdf5
Merge pull request #2067 from atugushev/release-7.4.1c671ea0
Strip emoji from changelog linef825385
Release 7.4.11197151
Merge pull request #2038 from honnix/patch-11f00154
Merge pull request #2061 from chrysle/pip-compile-docs-changedird99493c
Skip constraint path check35b06db
Change directory inpip-compile-docs
tox sessiona8beb7a
Merge pull request #1981 from dragly/fix-all-extras7caff1a
Merge branch 'main' into fix-all-extrase0afb79
Merge pull request #2057 from jazzband/pre-commit-ci-update-configUpdates
pydot
from 1.4.2 to 2.0.0Changelog
Sourced from pydot's changelog.
... (truncated)
Commits
85a756e
Preparing release 2.0.08e7b8de
fix output problems for non-default progs (#276)b450074
Update MANIFEST.in for better sdist contents (#307)e96bf9a
Prepare the 2.0.0 release (#305)c2187f1
Do not run tests forREADME.md
,LICENSE
, andChangeLog
changesf1355bf
Improve test clarity (#304)23f6105
Remove an unusedg
variable inpydot_unittest.py
(#298)5efc6cc
Update gitignore to contain test.svg and .DS_Store (#297)eabcff2
Fix multiple breaking issues from newpyparsing
versions (#296)803114c
Add workflow job to label PRs with conflicts (#303)Updates
pytest
from 7.2.2 to 8.2.2Release notes
Sourced from pytest's releases.
... (truncated)
Commits
329d371
Prepare release version 8.2.2214d098
Merge pull request #12414 from bluetech/backport-12409153a436
[8.2.x] fixtures: fix catastrophic performance problem inreorder_items
b41d5a5
Merge pull request #12412 from pytest-dev/backport-12408-to-8.2.x9bb73d7
[8.2.x] cacheprovider: fix "Directory not empty" crash from cache directory c...4569a01
[8.2.x] doc: Update trainings/events (#12402)1d103e5
[8.2.x] Clarify pytest_ignore_collect docs (#12386)240a252
[8.2.x] Add html_baseurl to sphinx conf.py (#12372)a5ee3c4
Merge pull request #12370 from pytest-dev/backport-12368-to-8.2.xf7358ae
[8.2.x] unittest: fix class instances no longer released on test teardown sin...Updates
pytest-cov
from 4.0.0 to 5.0.0Changelog
Sourced from pytest-cov's changelog.
Commits
5295ce0
Bump version: 4.1.0 → 5.0.01181b06
Update changelog.9757222
Fix a minor grammar error (#636)9f5cd81
Cleanup releasing instructions. Closes #616.93b5047
Add test for pyproject.toml loading without explicit --cov-config. Ref #508.ff50860
docs: add config instructions for pyproject.toml.4a5a4b5
Keep GitHub Actions up to date with GitHub's Dependabot1d7f559
Fix or remove URLs that are causing docs tests to fail6a5af8e
Update changelog.d9fe8df
Switch to furo. Closes #618.Updates
pytest-mock
from 3.10.0 to 3.14.0Release notes
Sourced from pytest-mock's releases.
Changelog
Sourced from pytest-mock's changelog.
Commits
8733134
Update CHANGELOG for 3.14.05257e3c
Refactor MockCache to have a narrow interface4faf92a
Fix regression with mocker.patch not being undone correctly6bd8712
Drop pre-Python 3.8 support code366966b
ExportMockType
/AsyncMockType
for type annotations (#415)852116b
Merge pull request #418 from pytest-dev/release-3.13.0ef9461b
Add instructions on how to start deploy from command-line5b9d285
Release 3.13.06d5d6dc
Implementspy_return_list
(#417)dc28a0e
[pre-commit.ci] pre-commit autoupdate (#416)Updates
ruff
from 0.4.4 to 0.4.8Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
a8cf709
Bump version to v0.4.8 (#11755)895eb3e
[red-knot] refactor CFG outside of symbol table (#11746)2e0a975
Disallow access toParsed
output, use the API instead (#11741)b021b5b
UseTokens
from parsed type annotation or parsed source (#11740)eed6d78
Update type annotation parsing API to returnParsed
(#11739)8338db6
ruff server
: Formatting a document with syntax problems no longer spams a v...d056d09
[red-knot] add if-statement support to FlowGraph (#11673)1645be0
UpdateNPY001
rule for NumPy 2.0 (#11735)2c86502
CI: add job to run tests under minimum supported rust version (msrv) (#11737)2567e14
Lexer should consider BOM for the start offset (#11732)Updates
twine
from 4.0.2 to 5.1.0Changelog
Sourced from twine's changelog.
Commits
e9f70cf
Merge pull request #1108 from pypa/fix-release-workflow1908be7
Fix release workflow6d7ffea
Merge pull request #1107 from woodruffw-forks/release-5.1.0bc91e57
Update changelog for 5.1.0de39ade
Merge pull request #1085 from pypa/feature/pep-62175de094
Merge pull request #1104 from ascheel/mainc512bbf
Properly handle repository URLs with auth in theme0ed808
Changelog entry72ee030
Change regex string to a raw string.04d7e27
Sanitize URLs for logging/display purposes.Updates
types-pyyaml
from 6.0.12.12 to 6.0.12.20240311Commits
Updates
types-setuptools
from 57.4.18 to 70.0.0.20240524Commits
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