openfun / joanie

👛 A headless ERP for education to manage course enrollment/subscription, payment and certificates delivery.
MIT License
20 stars 2 forks source link

⬆️(dependencies) update python dependencies #772

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
boto3 ==1.34.85 -> ==1.34.93 age adoption passing confidence
celery (source, changelog) ==5.3.6 -> ==5.4.0 age adoption passing confidence
dev/ipython ==8.23.0 -> ==8.24.0 age adoption passing confidence
dev/pytest (changelog) ==8.1.1 -> ==8.2.0 age adoption passing confidence
dev/pytest-xdist (changelog) ==3.5.0 -> ==3.6.1 age adoption passing confidence
dev/ruff (source, changelog) ==0.3.7 -> ==0.4.2 age adoption passing confidence
django-viewflow ==2.0.0 -> ==2.0.2 age adoption passing confidence
dockerflow ==2024.4.1 -> ==2024.4.2 age adoption passing confidence
sentry-sdk (changelog) ==1.45.0 -> ==2.0.1 age adoption passing confidence

Release Notes

boto/boto3 (boto3) ### [`v1.34.93`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13493) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.92...1.34.93) \======= - api-change:`codepipeline`: \[`botocore`] Add ability to manually and automatically roll back a pipeline stage to a previously successful execution. - api-change:`cognito-idp`: \[`botocore`] Add LimitExceededException to SignUp errors - api-change:`connectcampaigns`: \[`botocore`] This release adds support for specifying if Answering Machine should wait for prompt sound. - api-change:`marketplace-entitlement`: \[`botocore`] Releasing minor endpoint updates. - api-change:`oam`: \[`botocore`] This release introduces support for Source Accounts to define which Metrics and Logs to share with the Monitoring Account - api-change:`rds`: \[`botocore`] SupportsLimitlessDatabase field added to describe-db-engine-versions to indicate whether the DB engine version supports Aurora Limitless Database. - api-change:`support`: \[`botocore`] Releasing minor endpoint updates. ### [`v1.34.92`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13492) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.91...1.34.92) \======= - api-change:`appsync`: \[`botocore`] UpdateGraphQLAPI documentation update and datasource introspection secret arn update - api-change:`fms`: \[`botocore`] AWS Firewall Manager adds support for network ACL policies to manage Amazon Virtual Private Cloud (VPC) network access control lists (ACLs) for accounts in your organization. - api-change:`ivs`: \[`botocore`] Bug Fix: IVS does not support arns with the `svs` prefix - api-change:`ivs-realtime`: \[`botocore`] Bug Fix: IVS Real Time does not support ARNs using the `svs` prefix. - api-change:`rds`: \[`botocore`] Updates Amazon RDS documentation for setting local time zones for RDS for Db2 DB instances. - api-change:`stepfunctions`: \[`botocore`] Add new ValidateStateMachineDefinition operation, which performs syntax checking on the definition of a Amazon States Language (ASL) state machine. ### [`v1.34.91`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13491) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.90...1.34.91) \======= - api-change:`datasync`: \[`botocore`] This change allows users to disable and enable the schedules associated with their tasks. - api-change:`ec2`: \[`botocore`] Launching capability for customers to enable or disable automatic assignment of public IPv4 addresses to their network interface - api-change:`emr-containers`: \[`botocore`] EMRonEKS Service support for SecurityConfiguration enforcement for Spark Jobs. - api-change:`entityresolution`: \[`botocore`] Support Batch Unique IDs Deletion. - api-change:`gamelift`: \[`botocore`] Amazon GameLift releases container fleets support for public preview. Deploy Linux-based containerized game server software for hosting on Amazon GameLift. - api-change:`ssm`: \[`botocore`] Add SSM DescribeInstanceProperties API to public AWS SDK. ### [`v1.34.90`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13490) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.89...1.34.90) \======= - api-change:`bedrock`: \[`botocore`] This release introduces Model Evaluation and Guardrails for Amazon Bedrock. - api-change:`bedrock-agent`: \[`botocore`] Introducing the ability to create multiple data sources per knowledge base, specify S3 buckets as data sources from external accounts, and exposing levers to define the deletion behavior of the underlying vector store data. - api-change:`bedrock-agent-runtime`: \[`botocore`] This release introduces zero-setup file upload support for the RetrieveAndGenerate API. This allows you to chat with your data without setting up a Knowledge Base. - api-change:`bedrock-runtime`: \[`botocore`] This release introduces Guardrails for Amazon Bedrock. - api-change:`ce`: \[`botocore`] Added additional metadata that might be applicable to your reservation recommendations. - api-change:`ec2`: \[`botocore`] This release introduces EC2 AMI Deregistration Protection, a new AMI property that can be enabled by customers to protect an AMI against an unintended deregistration. This release also enables the AMI owners to view the AMI 'LastLaunchedTime' in DescribeImages API. - api-change:`pi`: \[`botocore`] Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API. - api-change:`rds`: \[`botocore`] Fix the example ARN for ModifyActivityStreamRequest - api-change:`workspaces-web`: \[`botocore`] Added InstanceType and MaxConcurrentSessions parameters on CreatePortal and UpdatePortal Operations as well as the ability to read Customer Managed Key & Additional Encryption Context parameters on supported resources (Portal, BrowserSettings, UserSettings, IPAccessSettings) ### [`v1.34.89`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13489) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.88...1.34.89) \======= - api-change:`bedrock-agent`: \[`botocore`] Releasing the support for simplified configuration and return of control - api-change:`bedrock-agent-runtime`: \[`botocore`] Releasing the support for simplified configuration and return of control - api-change:`payment-cryptography`: \[`botocore`] Adding support to TR-31/TR-34 exports for optional headers, allowing customers to add additional metadata (such as key version and KSN) when exporting keys from the service. - api-change:`redshift-serverless`: \[`botocore`] Updates description of schedule field for scheduled actions. - api-change:`route53profiles`: \[`botocore`] Route 53 Profiles allows you to apply a central DNS configuration across many VPCs regardless of account. - api-change:`sagemaker`: \[`botocore`] This release adds support for Real-Time Collaboration and Shared Space for JupyterLab App on SageMaker Studio. - api-change:`servicediscovery`: \[`botocore`] This release adds examples to several Cloud Map actions. - api-change:`transfer`: \[`botocore`] Adding new API to support remote directory listing using SFTP connector ### [`v1.34.88`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13488) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.87...1.34.88) \======= - api-change:`glue`: \[`botocore`] Adding RowFilter in the response for GetUnfilteredTableMetadata API - api-change:`internetmonitor`: \[`botocore`] This update introduces the GetInternetEvent and ListInternetEvents APIs, which provide access to internet events displayed on the Amazon CloudWatch Internet Weather Map. - api-change:`personalize`: \[`botocore`] This releases auto training capability while creating a solution and automatically syncing latest solution versions when creating/updating a campaign ### [`v1.34.87`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13487) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.86...1.34.87) \======= - api-change:`drs`: \[`botocore`] Outpost ARN added to Source Server and Recovery Instance - api-change:`emr-serverless`: \[`botocore`] This release adds the capability to publish detailed Spark engine metrics to Amazon Managed Service for Prometheus (AMP) for enhanced monitoring for Spark jobs. - api-change:`guardduty`: \[`botocore`] Added IPv6Address fields for local and remote IP addresses - api-change:`quicksight`: \[`botocore`] This release adds support for the Cross Sheet Filter and Control features, and support for warnings in asset imports for any permitted errors encountered during execution - api-change:`rolesanywhere`: \[`botocore`] This release introduces the PutAttributeMapping and DeleteAttributeMapping APIs. IAM Roles Anywhere now provides the capability to define a set of mapping rules, allowing customers to specify which data is extracted from their X.509 end-entity certificates. - api-change:`sagemaker`: \[`botocore`] Removed deprecated enum values and updated API documentation. - api-change:`workspaces`: \[`botocore`] Adds new APIs for managing and sharing WorkSpaces BYOL configuration across accounts. ### [`v1.34.86`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#13486) [Compare Source](https://togithub.com/boto/boto3/compare/1.34.85...1.34.86) \======= - api-change:`ec2`: \[`botocore`] Documentation updates for Elastic Compute Cloud (EC2). - api-change:`qbusiness`: \[`botocore`] This release adds support for IAM Identity Center (IDC) as the identity gateway for Q Business. It also allows users to provide an explicit intent for Q Business to identify how the Chat request should be handled.
celery/celery (celery) ### [`v5.4.0`](https://togithub.com/celery/celery/blob/HEAD/Changelog.rst#540) [Compare Source](https://togithub.com/celery/celery/compare/v5.3.6...v5.4.0) \===== :release-date: 2024-04-17 :release-by: Tomer Nosrati Celery v5.4.0 and v5.3.x have consistently focused on enhancing the overall QA, both internally and externally. This effort led to the new pytest-celery v1.0.0 release, developed concurrently with v5.3.0 & v5.4.0. This release introduces two significant QA enhancements: - **Smoke Tests**: A new layer of automatic tests has been added to Celery's standard CI. These tests are designed to handle production scenarios and complex conditions efficiently. While new contributions will not be halted due to the lack of smoke tests, we will request smoke tests for advanced changes where appropriate. - `Standalone Bug Report Script `\_: The new pytest-celery plugin now allows for encapsulating a complete Celery dockerized setup within a single pytest script. Incorporating these into new bug reports will enable us to reproduce reported bugs deterministically, potentially speeding up the resolution process. Contrary to the positive developments above, there have been numerous reports about issues with the Redis broker malfunctioning upon restarts and disconnections. Our initial attempts to resolve this were not successful ([#​8796](https://togithub.com/celery/celery/issues/8796)). With our enhanced QA capabilities, we are now prepared to address the core issue with Redis (as a broker) again. The rest of the changes for this release are grouped below, with the changes from the latest release candidate listed at the end. ## Changes - Add a Task class specialised for Django ([#​8491](https://togithub.com/celery/celery/issues/8491)) - Add Google Cloud Storage (GCS) backend ([#​8868](https://togithub.com/celery/celery/issues/8868)) - Added documentation to the smoke tests infra ([#​8970](https://togithub.com/celery/celery/issues/8970)) - Added a checklist item for using pytest-celery in a bug report ([#​8971](https://togithub.com/celery/celery/issues/8971)) - Bugfix: Missing id on chain ([#​8798](https://togithub.com/celery/celery/issues/8798)) - Bugfix: Worker not consuming tasks after Redis broker restart ([#​8796](https://togithub.com/celery/celery/issues/8796)) - Catch UnicodeDecodeError when opening corrupt beat-schedule.db ([#​8806](https://togithub.com/celery/celery/issues/8806)) - chore(ci): Enhance CI with `workflow_dispatch` for targeted debugging and testing ([#​8826](https://togithub.com/celery/celery/issues/8826)) - Doc: Enhance "Testing with Celery" section ([#​8955](https://togithub.com/celery/celery/issues/8955)) - Docfix: pip install celery\[sqs] -> pip install "celery\[sqs]" ([#​8829](https://togithub.com/celery/celery/issues/8829)) - Enable efficient `chord` when using dynamicdb as backend store ([#​8783](https://togithub.com/celery/celery/issues/8783)) - feat(daemon): allows daemonization options to be fetched from app settings ([#​8553](https://togithub.com/celery/celery/issues/8553)) - Fix DeprecationWarning: datetime.datetime.utcnow() ([#​8726](https://togithub.com/celery/celery/issues/8726)) - Fix recursive result parents on group in middle of chain ([#​8903](https://togithub.com/celery/celery/issues/8903)) - Fix typos and grammar ([#​8915](https://togithub.com/celery/celery/issues/8915)) - Fixed version documentation tag from [#​8553](https://togithub.com/celery/celery/issues/8553) in configuration.rst ([#​8802](https://togithub.com/celery/celery/issues/8802)) - Hotfix: Smoke tests didn't allow customizing the worker's command arguments, now it does ([#​8937](https://togithub.com/celery/celery/issues/8937)) - Make custom remote control commands available in CLI ([#​8489](https://togithub.com/celery/celery/issues/8489)) - Print safe_say() to stdout for non-error flows ([#​8919](https://togithub.com/celery/celery/issues/8919)) - Support moto 5.0 ([#​8838](https://togithub.com/celery/celery/issues/8838)) - Update contributing guide to use ssh upstream url ([#​8881](https://togithub.com/celery/celery/issues/8881)) - Update optimizing.rst ([#​8945](https://togithub.com/celery/celery/issues/8945)) - Updated concurrency docs page. ([#​8753](https://togithub.com/celery/celery/issues/8753)) ## Dependencies Updates - Bump actions/setup-python from 4 to 5 ([#​8701](https://togithub.com/celery/celery/issues/8701)) - Bump codecov/codecov-action from 3 to 4 ([#​8831](https://togithub.com/celery/celery/issues/8831)) - Bump isort from 5.12.0 to 5.13.2 ([#​8772](https://togithub.com/celery/celery/issues/8772)) - Bump msgpack from 1.0.7 to 1.0.8 ([#​8885](https://togithub.com/celery/celery/issues/8885)) - Bump mypy from 1.8.0 to 1.9.0 ([#​8898](https://togithub.com/celery/celery/issues/8898)) - Bump pre-commit to 3.6.1 ([#​8839](https://togithub.com/celery/celery/issues/8839)) - Bump pre-commit/action from 3.0.0 to 3.0.1 ([#​8835](https://togithub.com/celery/celery/issues/8835)) - Bump pytest from 8.0.2 to 8.1.1 ([#​8901](https://togithub.com/celery/celery/issues/8901)) - Bump pytest-celery to v1.0.0 ([#​8962](https://togithub.com/celery/celery/issues/8962)) - Bump pytest-cov to 5.0.0 ([#​8924](https://togithub.com/celery/celery/issues/8924)) - Bump pytest-order from 1.2.0 to 1.2.1 ([#​8941](https://togithub.com/celery/celery/issues/8941)) - Bump pytest-subtests from 0.11.0 to 0.12.1 ([#​8896](https://togithub.com/celery/celery/issues/8896)) - Bump pytest-timeout from 2.2.0 to 2.3.1 ([#​8894](https://togithub.com/celery/celery/issues/8894)) - Bump python-memcached from 1.59 to 1.61 ([#​8776](https://togithub.com/celery/celery/issues/8776)) - Bump sphinx-click from 4.4.0 to 5.1.0 ([#​8774](https://togithub.com/celery/celery/issues/8774)) - Update cryptography to 42.0.5 ([#​8869](https://togithub.com/celery/celery/issues/8869)) - Update elastic-transport requirement from <=8.12.0 to <=8.13.0 ([#​8933](https://togithub.com/celery/celery/issues/8933)) - Update elasticsearch requirement from <=8.12.1 to <=8.13.0 ([#​8934](https://togithub.com/celery/celery/issues/8934)) - Upgraded Sphinx from v5.3.0 to v7.x.x ([#​8803](https://togithub.com/celery/celery/issues/8803)) ## Changes since 5.4.0rc2 - Update elastic-transport requirement from <=8.12.0 to <=8.13.0 ([#​8933](https://togithub.com/celery/celery/issues/8933)) - Update elasticsearch requirement from <=8.12.1 to <=8.13.0 ([#​8934](https://togithub.com/celery/celery/issues/8934)) - Hotfix: Smoke tests didn't allow customizing the worker's command arguments, now it does ([#​8937](https://togithub.com/celery/celery/issues/8937)) - Bump pytest-celery to 1.0.0rc3 ([#​8946](https://togithub.com/celery/celery/issues/8946)) - Update optimizing.rst ([#​8945](https://togithub.com/celery/celery/issues/8945)) - Doc: Enhance "Testing with Celery" section ([#​8955](https://togithub.com/celery/celery/issues/8955)) - Bump pytest-celery to v1.0.0 ([#​8962](https://togithub.com/celery/celery/issues/8962)) - Bump pytest-order from 1.2.0 to 1.2.1 ([#​8941](https://togithub.com/celery/celery/issues/8941)) - Added documentation to the smoke tests infra ([#​8970](https://togithub.com/celery/celery/issues/8970)) - Added a checklist item for using pytest-celery in a bug report ([#​8971](https://togithub.com/celery/celery/issues/8971)) .. \_version-5.4.0rc2:
ipython/ipython (dev/ipython) ### [`v8.24.0`](https://togithub.com/ipython/ipython/compare/8.23.0...8.24.0) [Compare Source](https://togithub.com/ipython/ipython/compare/8.23.0...8.24.0)
pytest-dev/pytest (dev/pytest) ### [`v8.2.0`](https://togithub.com/pytest-dev/pytest/releases/tag/8.2.0) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.1.2...8.2.0) # pytest 8.2.0 (2024-04-27) ## Deprecations - [#​12069](https://togithub.com/pytest-dev/pytest/issues/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: - `pytest_ignore_collect`{.interpreted-text role="hook"} - the `path` parameter - use `collection_path` instead. - `pytest_collect_file`{.interpreted-text role="hook"} - the `path` parameter - use `file_path` instead. - `pytest_pycollect_makemodule`{.interpreted-text role="hook"} - the `path` parameter - use `module_path` instead. - `pytest_report_header`{.interpreted-text role="hook"} - the `startdir` parameter - use `start_path` instead. - `pytest_report_collectionfinish`{.interpreted-text role="hook"} - the `startdir` parameter - use `start_path` instead. The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0. See `legacy-path-hooks-deprecated`{.interpreted-text role="ref"} for more details. ## Features - [#​11871](https://togithub.com/pytest-dev/pytest/issues/11871): Added support for reading command line arguments from a file using the prefix character `@`, like e.g.: `pytest @​tests.txt`. The file must have one argument per line. See `Read arguments from file `{.interpreted-text role="ref"} for details. ## Improvements - [#​11523](https://togithub.com/pytest-dev/pytest/issues/11523): `pytest.importorskip`{.interpreted-text role="func"} will now issue a warning if the module could be found, but raised `ImportError`{.interpreted-text role="class"} instead of `ModuleNotFoundError`{.interpreted-text role="class"}. The warning can be suppressed by passing `exc_type=ImportError` to `pytest.importorskip`{.interpreted-text role="func"}. See `import-or-skip-import-error`{.interpreted-text role="ref"} for details. - [#​11728](https://togithub.com/pytest-dev/pytest/issues/11728): For `unittest`-based tests, exceptions during class cleanup (as raised by functions registered with `TestCase.addClassCleanup `{.interpreted-text role="meth"}) are now reported instead of silently failing. - [#​11777](https://togithub.com/pytest-dev/pytest/issues/11777): Text is no longer truncated in the `short test summary info` section when `-vv` is given. - [#​12112](https://togithub.com/pytest-dev/pytest/issues/12112): Improved namespace packages detection when `consider_namespace_packages`{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs). - [#​9502](https://togithub.com/pytest-dev/pytest/issues/9502): Added `PYTEST_VERSION`{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of `pytest.__version__`, and among other things can be used to easily check if code is running from within a pytest run. ## Bug Fixes - [#​12065](https://togithub.com/pytest-dev/pytest/issues/12065): Fixed a regression in pytest 8.0.0 where test classes containing `setup_method` and tests using `@staticmethod` or `@classmethod` would crash with `AttributeError: 'NoneType' object has no attribute 'setup_method'`. Now the `request.instance `{.interpreted-text role="attr"} attribute of tests using `@staticmethod` and `@classmethod` is no longer `None`, but a fresh instance of the class, like in non-static methods. Previously it was `None`, and all fixtures of such tests would share a single `self`. - [#​12135](https://togithub.com/pytest-dev/pytest/issues/12135): Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances. - [#​12194](https://togithub.com/pytest-dev/pytest/issues/12194): Fixed a bug with `--importmode=importlib` and `--doctest-modules` where child modules did not appear as attributes in parent modules. - [#​1489](https://togithub.com/pytest-dev/pytest/issues/1489): Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in. ## Trivial/Internal Changes - [#​12069](https://togithub.com/pytest-dev/pytest/issues/12069): `pluggy>=1.5.0` is now required. - [#​12167](https://togithub.com/pytest-dev/pytest/issues/12167): `cache `{.interpreted-text role="ref"}: create supporting files (`CACHEDIR.TAG`, `.gitignore`, etc.) in a temporary directory to provide atomic semantics. ### [`v8.1.2`](https://togithub.com/pytest-dev/pytest/releases/tag/8.1.2) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.1.1...8.1.2) # pytest 8.1.2 (2024-04-26) ## Bug Fixes - [#​12114](https://togithub.com/pytest-dev/pytest/issues/12114): Fixed error in `pytest.approx`{.interpreted-text role="func"} when used with \[numpy]{.title-ref} arrays and comparing with other types.
pytest-dev/pytest-xdist (dev/pytest-xdist) ### [`v3.6.1`](https://togithub.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-361-2024-04-28) [Compare Source](https://togithub.com/pytest-dev/pytest-xdist/compare/v3.6.0...v3.6.1) \=============================== ## Bug Fixes - `#​1071 `\_: Add backward compatibility for deadlock issue with the `execnet` new `main_thread_only` "execmodel" triggered when pytest-cov accesses rinfo. ### [`v3.6.0`](https://togithub.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-360-2024-04-19) [Compare Source](https://togithub.com/pytest-dev/pytest-xdist/compare/v3.5.0...v3.6.0) \=============================== This release was YANKED due to a regression fixed in 3.6.1. ## Features - `#​1027 `\_:`pytest-xdist` workers now always execute the tests in the main thread. Previously some tests might end up executing in a separate thread other than `main` in the workers, due to some internal ` execnet`` details. This can cause problems specially with async frameworks where the event loop is running in the ``main`` thread (for example `[#​620](https://togithub.com/pytest-dev/pytest-xdist/issues/620) [#​620](https://togithub.com/pytest-dev/pytest-xdist/issues/620)\`\__). ## Bug Fixes - `#​1024 `\_: Added proper handling of `shouldstop` (such as set by `--max-fail`) and `shouldfail` conditions in workers. Previously, a worker might have continued executing further tests before the controller could terminate the session. - `#​1028 `\_: Fixed compatibility issue between `looponfail` and editable installs. - `#​620 `\_: Use the new `main_thread_only` `execnet` "execmodel" so that code which expects to only run in the main thread will now work as expected. - `#​937 `\_: Fixed a bug where plugin would raise an incompatibility error with `--pdb` despite using `-n0`. ## Removals - `#​1053 `\_: Dropped support for Python 3.7. - `#​1057 `\_: pytest>=7.0.0 is now required. execnet>=2.1.0 is now required. ## Trivial Changes - `#​1020 `\_: pytest-xdist'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. - `#​1057 `\_: The internals of pytest-xdist are now fully typed. The typing is not exposed yet. - `#​996 `\_: Adjusted license file format and content to ensure security scanners will identity the license.
astral-sh/ruff (dev/ruff) ### [`v0.4.2`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#042) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.1...v0.4.2) ##### Rule changes - \[`flake8-pyi`] Allow for overloaded `__exit__` and `__aexit__` definitions (`PYI036`) ([#​11057](https://togithub.com/astral-sh/ruff/pull/11057)) - \[`pyupgrade`] Catch usages of `"%s" % var` and provide an unsafe fix (`UP031`) ([#​11019](https://togithub.com/astral-sh/ruff/pull/11019)) - \[`refurb`] Implement new rule that suggests min/max over `sorted()` (`FURB192`) ([#​10868](https://togithub.com/astral-sh/ruff/pull/10868)) ##### Server - Fix an issue with missing diagnostics for Neovim and Helix ([#​11092](https://togithub.com/astral-sh/ruff/pull/11092)) - Implement hover documentation for `noqa` codes ([#​11096](https://togithub.com/astral-sh/ruff/pull/11096)) - Introduce common Ruff configuration options with new server settings ([#​11062](https://togithub.com/astral-sh/ruff/pull/11062)) ##### Bug fixes - Use `macos-12` for building release wheels to enable macOS 11 compatibility ([#​11146](https://togithub.com/astral-sh/ruff/pull/11146)) - \[`flake8-blind-expect`] Allow raise from in `BLE001` ([#​11131](https://togithub.com/astral-sh/ruff/pull/11131)) - \[`flake8-pyi`] Allow simple assignments to `None` in enum class scopes (`PYI026`) ([#​11128](https://togithub.com/astral-sh/ruff/pull/11128)) - \[`flake8-simplify`] Avoid raising `SIM911` for non-`zip` attribute calls ([#​11126](https://togithub.com/astral-sh/ruff/pull/11126)) - \[`refurb`] Avoid `operator.itemgetter` suggestion for single-item tuple ([#​11095](https://togithub.com/astral-sh/ruff/pull/11095)) - \[`ruff`] Respect per-file-ignores for `RUF100` with no other diagnostics ([#​11058](https://togithub.com/astral-sh/ruff/pull/11058)) - \[`ruff`] Fix async comprehension false positive (`RUF029`) ([#​11070](https://togithub.com/astral-sh/ruff/pull/11070)) ##### Documentation - \[`flake8-bugbear`] Document explicitly disabling strict zip (`B905`) ([#​11040](https://togithub.com/astral-sh/ruff/pull/11040)) - \[`flake8-type-checking`] Mention `lint.typing-modules` in `TCH001`, `TCH002`, and `TCH003` ([#​11144](https://togithub.com/astral-sh/ruff/pull/11144)) - \[`isort`] Improve documentation around custom `isort` sections ([#​11050](https://togithub.com/astral-sh/ruff/pull/11050)) - \[`pylint`] Fix documentation oversight for `invalid-X-returns` ([#​11094](https://togithub.com/astral-sh/ruff/pull/11094)) ##### Performance - Use `matchit` to resolve per-file settings ([#​11111](https://togithub.com/astral-sh/ruff/pull/11111)) ### [`v0.4.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#041) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.0...v0.4.1) ##### Preview features - \[`pylint`] Implement `invalid-hash-returned` (`PLE0309`) ([#​10961](https://togithub.com/astral-sh/ruff/pull/10961)) - \[`pylint`] Implement `invalid-index-returned` (`PLE0305`) ([#​10962](https://togithub.com/astral-sh/ruff/pull/10962)) ##### Bug fixes - \[`pylint`] Allow `NoReturn`-like functions for `__str__`, `__len__`, etc. (`PLE0307`) ([#​11017](https://togithub.com/astral-sh/ruff/pull/11017)) - Parser: Use empty range when there's "gap" in token source ([#​11032](https://togithub.com/astral-sh/ruff/pull/11032)) - \[`ruff`] Ignore stub functions in `unused-async` (`RUF029`) ([#​11026](https://togithub.com/astral-sh/ruff/pull/11026)) - Parser: Expect indented case block instead of match stmt ([#​11033](https://togithub.com/astral-sh/ruff/pull/11033)) ### [`v0.4.0`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#040) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.3.7...v0.4.0) ##### A new, hand-written parser Ruff's new parser is **>2x faster**, which translates to a **20-40% speedup** for all linting and formatting invocations. There's a lot to say about this exciting change, so check out the [blog post](https://astral.sh/blog/ruff-v0.4.0) for more details! See [#​10036](https://togithub.com/astral-sh/ruff/pull/10036) for implementation details. ##### A new language server in Rust With this release, we also want to highlight our new language server. `ruff server` is a Rust-powered language server that comes built-in with Ruff. It can be used with any editor that supports the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) (LSP). It uses a multi-threaded, lock-free architecture inspired by `rust-analyzer` and it will open the door for a lot of exciting features. It’s also faster than our previous [Python-based language server](https://togithub.com/astral-sh/ruff-lsp) \-- but you probably guessed that already. `ruff server` is only in alpha, but it has a lot of features that you can try out today: - Lints Python files automatically and shows quick-fixes when available - Formats Python files, with support for range formatting - Comes with commands for quickly performing actions: `ruff.applyAutofix`, `ruff.applyFormat`, and `ruff.applyOrganizeImports` - Supports `source.fixAll` and `source.organizeImports` source actions - Automatically reloads your project configuration when you change it To setup `ruff server` with your editor, refer to the [README.md](https://togithub.com/astral-sh/ruff/blob/main/crates/ruff_server/README.md). ##### Preview features - \[`pycodestyle`] Do not trigger `E3` rules on `def`s following a function/method with a dummy body ([#​10704](https://togithub.com/astral-sh/ruff/pull/10704)) - \[`pylint`] Implement `invalid-bytes-returned` (`E0308`) ([#​10959](https://togithub.com/astral-sh/ruff/pull/10959)) - \[`pylint`] Implement `invalid-length-returned` (`E0303`) ([#​10963](https://togithub.com/astral-sh/ruff/pull/10963)) - \[`pylint`] Implement `self-cls-assignment` (`W0642`) ([#​9267](https://togithub.com/astral-sh/ruff/pull/9267)) - \[`pylint`] Omit stubs from `invalid-bool` and `invalid-str-return-type` ([#​11008](https://togithub.com/astral-sh/ruff/pull/11008)) - \[`ruff`] New rule `unused-async` (`RUF029`) to detect unneeded `async` keywords on functions ([#​9966](https://togithub.com/astral-sh/ruff/pull/9966)) ##### Rule changes - \[`flake8-bandit`] Allow `urllib.request.urlopen` calls with static `Request` argument (`S310`) ([#​10964](https://togithub.com/astral-sh/ruff/pull/10964)) - \[`flake8-bugbear`] Treat `raise NotImplemented`-only bodies as stub functions (`B006`) ([#​10990](https://togithub.com/astral-sh/ruff/pull/10990)) - \[`flake8-slots`] Respect same-file `Enum` subclasses (`SLOT000`) ([#​11006](https://togithub.com/astral-sh/ruff/pull/11006)) - \[`pylint`] Support inverted comparisons (`PLR1730`) ([#​10920](https://togithub.com/astral-sh/ruff/pull/10920)) ##### Linter - Improve handling of builtin symbols in linter rules ([#​10919](https://togithub.com/astral-sh/ruff/pull/10919)) - Improve display of rules in `--show-settings` ([#​11003](https://togithub.com/astral-sh/ruff/pull/11003)) - Improve inference capabilities of the `BuiltinTypeChecker` ([#​10976](https://togithub.com/astral-sh/ruff/pull/10976)) - Resolve classes and functions relative to script name ([#​10965](https://togithub.com/astral-sh/ruff/pull/10965)) - Improve performance of `RuleTable::any_enabled` ([#​10971](https://togithub.com/astral-sh/ruff/pull/10971)) ##### Server *This section is devoted to updates for our new language server, written in Rust.* - Enable ruff-specific source actions ([#​10916](https://togithub.com/astral-sh/ruff/pull/10916)) - Refreshes diagnostics for open files when file configuration is changed ([#​10988](https://togithub.com/astral-sh/ruff/pull/10988)) - Important errors are now shown as popups ([#​10951](https://togithub.com/astral-sh/ruff/pull/10951)) - Introduce settings for directly configuring the linter and formatter ([#​10984](https://togithub.com/astral-sh/ruff/pull/10984)) - Resolve configuration for each document individually ([#​10950](https://togithub.com/astral-sh/ruff/pull/10950)) - Write a setup guide for Neovim ([#​10987](https://togithub.com/astral-sh/ruff/pull/10987)) ##### Configuration - Add `RUFF_OUTPUT_FILE` environment variable support ([#​10992](https://togithub.com/astral-sh/ruff/pull/10992)) ##### Bug fixes - Avoid `non-augmented-assignment` for reversed, non-commutative operators (`PLR6104`) ([#​10909](https://togithub.com/astral-sh/ruff/pull/10909)) - Limit commutative non-augmented-assignments to primitive data types (`PLR6104`) ([#​10912](https://togithub.com/astral-sh/ruff/pull/10912)) - Respect `per-file-ignores` for `RUF100` on blanket `# noqa` ([#​10908](https://togithub.com/astral-sh/ruff/pull/10908)) - Consider `if` expression for parenthesized with items parsing ([#​11010](https://togithub.com/astral-sh/ruff/pull/11010)) - Consider binary expr for parenthesized with items parsing ([#​11012](https://togithub.com/astral-sh/ruff/pull/11012)) - Reset `FOR_TARGET` context for all kinds of parentheses ([#​11009](https://togithub.com/astral-sh/ruff/pull/11009))
mozilla-services/python-dockerflow (dockerflow) ### [`v2024.4.2`](https://togithub.com/mozilla-services/python-dockerflow/compare/2024.4.1...2024.04.2) [Compare Source](https://togithub.com/mozilla-services/python-dockerflow/compare/2024.4.1...2024.04.2)
getsentry/sentry-python (sentry-sdk) ### [`v2.0.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#201) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/2.0.0...2.0.1) ##### Various fixes & improvements - Fix: Do not use convenience decorator ([#​3022](https://togithub.com/getsentry/sentry-python/issues/3022)) by [@​sentrivana](https://togithub.com/sentrivana) - Refactoring propagation context ([#​2970](https://togithub.com/getsentry/sentry-python/issues/2970)) by [@​antonpirker](https://togithub.com/antonpirker) - Use `pid` for test database name in Django tests ([#​2998](https://togithub.com/getsentry/sentry-python/issues/2998)) by [@​antonpirker](https://togithub.com/antonpirker) - Remove outdated RC mention in docs ([#​3018](https://togithub.com/getsentry/sentry-python/issues/3018)) by [@​sentrivana](https://togithub.com/sentrivana) - Delete inaccurate comment from docs ([#​3002](https://togithub.com/getsentry/sentry-python/issues/3002)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Add Lambda function that deletes test Lambda functions ([#​2960](https://togithub.com/getsentry/sentry-python/issues/2960)) by [@​antonpirker](https://togithub.com/antonpirker) - Correct discarded transaction debug message ([#​3002](https://togithub.com/getsentry/sentry-python/issues/3002)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Add tests for discarded transaction debug messages ([#​3002](https://togithub.com/getsentry/sentry-python/issues/3002)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Fix comment typo in metrics ([#​2992](https://togithub.com/getsentry/sentry-python/issues/2992)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - build(deps): bump actions/checkout from 4.1.1 to 4.1.4 ([#​3011](https://togithub.com/getsentry/sentry-python/issues/3011)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump checkouts/data-schemas from `1e17eb5` to `4aa14a7` ([#​2997](https://togithub.com/getsentry/sentry-python/issues/2997)) by [@​dependabot](https://togithub.com/dependabot) ### [`v2.0.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#200) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.45.0...2.0.0) This is the first major update in a *long* time! We dropped support for some ancient languages and frameworks (Yes, Python 2.7 is no longer supported). Additionally we refactored a big part of the foundation of the SDK (how data inside the SDK is handled). We hope you like it! For a shorter version of what you need to do, to upgrade to Sentry SDK 2.0 see: https://docs.sentry.io/platforms/python/migration/1.x-to-2.x ##### New Features - Additional integrations will now be activated automatically if the SDK detects the respective package is installed: Ariadne, ARQ, asyncpg, Chalice, clickhouse-driver, GQL, Graphene, huey, Loguru, PyMongo, Quart, Starlite, Strawberry. - Added new API for custom instrumentation: `new_scope`, `isolation_scope`. See the [Deprecated](#deprecated) section to see how they map to the existing APIs. ##### Changed (These changes are all backwards-incompatible. **Breaking Change** (if you are just skimming for that phrase)) - The Pyramid integration will not capture errors that might happen in `authenticated_userid()` in a custom `AuthenticationPolicy` class. - The method `need_code_loation` of the `MetricsAggregator` was renamed to `need_code_location`. - The `BackgroundWorker` thread used to process events was renamed from `raven-sentry.BackgroundWorker` to `sentry-sdk.BackgroundWorker`. - The `reraise` function was moved from `sentry_sdk._compat` to `sentry_sdk.utils`. - The `_ScopeManager` was moved from `sentry_sdk.hub` to `sentry_sdk.scope`. - Moved the contents of `tracing_utils_py3.py` to `tracing_utils.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`. - The actual implementation of `get_current_span` was moved to `sentry_sdk.tracing_utils`. `sentry_sdk.get_current_span` is still accessible as part of the top-level API. - `sentry_sdk.tracing_utils.add_query_source()`: Removed the `hub` parameter. It is not necessary anymore. - `sentry_sdk.tracing_utils.record_sql_queries()`: Removed the `hub` parameter. It is not necessary anymore. - `sentry_sdk.tracing_utils.get_current_span()` does now take a `scope` instead of a `hub` as parameter. - `sentry_sdk.tracing_utils.should_propagate_trace()` now takes a `Client` instead of a `Hub` as first parameter. - `sentry_sdk.utils.is_sentry_url()` now takes a `Client` instead of a `Hub` as first parameter. - `sentry_sdk.utils._get_contextvars` does not return a tuple with three values, but a tuple with two values. The `copy_context` was removed. - If you create a transaction manually and later mutate the transaction in a `configure_scope` block this does not work anymore. Here is a recipe on how to change your code to make it work: Your existing implementation: ```python transaction = sentry_sdk.transaction(...) ``` ### later in the code execution: with sentry_sdk.configure_scope() as scope: scope.set_transaction_name("new-transaction-name") ``` needs to be changed to this: ```python transaction = sentry_sdk.transaction(...) ### later in the code execution: scope = sentry_sdk.Scope.get_current_scope() scope.set_transaction_name("new-transaction-name") ``` - The classes listed in the table below are now abstract base classes. Therefore, they can no longer be instantiated. Subclasses can only be instantiated if they implement all of the abstract methods.
Show table | Class | Abstract methods | | ------------------------------------- | -------------------------------------- | | `sentry_sdk.integrations.Integration` | `setup_once` | | `sentry_sdk.metrics.Metric` | `add`, `serialize_value`, and `weight` | | `sentry_sdk.profiler.Scheduler` | `setup` and `teardown` | | `sentry_sdk.transport.Transport` | `capture_envelope` |
##### Removed (These changes are all backwards-incompatible. **Breaking Change** (if you are just skimming for that phrase)) - Removed support for Python 2 and Python 3.5. The SDK now requires at least Python 3.6. - Removed support for Celery 3.\*. - Removed support for Django 1.8, 1.9, 1.10. - Removed support for Flask 0.\*. - Removed support for gRPC < 1.39. - Removed support for Tornado < 6. - Removed `last_event_id()` top level API. The last event ID is still returned by `capture_event()`, `capture_exception()` and `capture_message()` but the top level API `sentry_sdk.last_event_id()` has been removed. - Removed support for sending events to the `/store` endpoint. Everything is now sent to the `/envelope` endpoint. If you're on SaaS you don't have to worry about this, but if you're running Sentry yourself you'll need version `20.6.0` or higher of self-hosted Sentry. - The deprecated `with_locals` configuration option was removed. Use `include_local_variables` instead. See https://docs.sentry.io/platforms/python/configuration/options/#include-local-variables. - The deprecated `request_bodies` configuration option was removed. Use `max_request_body_size`. See https://docs.sentry.io/platforms/python/configuration/options/#max-request-body-size. - Removed support for `user.segment`. It was also removed from the trace header as well as from the dynamic sampling context. - Removed support for the `install` method for custom integrations. Please use `setup_once` instead. - Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead. - Removed `sentry_sdk.tracing.Transaction.new_span`. Use `sentry_sdk.tracing.Transaction.start_child` instead. - Removed support for creating transactions via `sentry_sdk.tracing.Span(transaction=...)`. To create a transaction, please use `sentry_sdk.tracing.Transaction(name=...)`. - Removed `sentry_sdk.utils.Auth.store_api_url`. - `sentry_sdk.utils.Auth.get_api_url`'s now accepts a `sentry_sdk.consts.EndpointType` enum instead of a string as its only parameter. We recommend omitting this argument when calling the function, since the parameter's default value is the only possible `sentry_sdk.consts.EndpointType` value. The parameter exists for future compatibility. - Removed `tracing_utils_py2.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`. - Removed the `sentry_sdk.profiler.Scheduler.stop_profiling` method. Any calls to this method can simply be removed, since this was a no-op method. ##### Deprecated - Using the `Hub` directly as well as using hub-based APIs has been deprecated. Where available, use [the top-level API instead](sentry_sdk/api.py); otherwise use the [scope API](sentry_sdk/scope.py) or the [client API](sentry_sdk/client.py). Before: ```python with hub.start_span(...): ``` ### do something ```` After: ```python import sentry_sdk with sentry_sdk.start_span(...): ### do something ```` - Hub cloning is deprecated. Before: ```python with Hub(Hub.current) as hub: ``` ### do something with the cloned hub ```` After: ```python import sentry_sdk with sentry_sdk.isolation_scope() as scope: ### do something with the forked scope ```` - `configure_scope` is deprecated. Use the new isolation scope directly via `Scope.get_isolation_scope()` instead. Before: ```python with configure_scope() as scope: ``` ### do something with `scope` ```` After: ```python from sentry_sdk.scope import Scope scope = Scope.get_isolation_scope() ````

Configuration

📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 3 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.