simonw / simonwillisonblog

The source code behind my blog
https://simonwillison.net/
Apache License 2.0
202 stars 18 forks source link

Bump the python-packages group with 4 updates #400

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps the python-packages group with 4 updates: beautifulsoup4, cloudflare, django and pytest.

Updates beautifulsoup4 from 4.12.2 to 4.12.3

Updates cloudflare from 2.14.2 to 2.17.0

Release notes

Sourced from cloudflare's releases.

2.17.0

 - 2024-01-22 22:42:30 +0000 [e90d38e](https://github.com/cloudflare/python-cloudflare/commit/e90d38eaa5ab40bca52d93d81bf1b7549ab70bda) handle case where zone and account disallow load balancing
 - 2024-01-22 22:29:06 +0000 [cf595ab](https://github.com/cloudflare/python-cloudflare/commit/cf595ab09a0f1da8146217229655c75709f77071) CHANGELOG.md pushed to github
 - 2024-01-22 22:28:12 +0000 [fadbace](https://github.com/cloudflare/python-cloudflare/commit/fadbace4bbbb47e30089984b0fc88481249904c5) 2.17.0
 - 2024-01-22 22:27:13 +0000 [ee72509](https://github.com/cloudflare/python-cloudflare/commit/ee725093486668f380a59cf68f208da110950cf6) make 4xx error handling more generic
 - 2024-01-22 22:26:13 +0000 [ea9e609](https://github.com/cloudflare/python-cloudflare/commit/ea9e6094480612747c557a27148f6e7549537b52) testing load balancers becuase they return 412 HTTP errors
 - 2024-01-21 17:38:08 +0000 [e09b075](https://github.com/cloudflare/python-cloudflare/commit/e09b075e740322382e15c67c01e519b3d9609370) debug messages line lenght needs to be longer so that error return messages are shown clearly
 - 2024-01-20 18:21:28 +0000 [3b8e699](https://github.com/cloudflare/python-cloudflare/commit/3b8e69997a538e030fb63da1c8a81c4e65ca345b) issue-181 HTTP response code 412 not handled
 - 2024-01-12 12:34:07 -0800 [2da9a7b](https://github.com/cloudflare/python-cloudflare/commit/2da9a7b56b3140c2d47d70f52ea8265d5b9d6dd4) handle 404 errors with invalid API error structure
 - 2024-01-12 12:33:24 -0800 [f39b3c1](https://github.com/cloudflare/python-cloudflare/commit/f39b3c1824d52b09fa0b7aeeeb1f03a3750d5c9f) test get/put/patch/delete and post with no data - all expected return error
 - 2024-01-12 11:42:56 -0800 [6acca0e](https://github.com/cloudflare/python-cloudflare/commit/6acca0ef657d703298a735011087619630897ab0) now testing api calls with four id values
 - 2024-01-12 11:06:44 -0800 [604d2bd](https://github.com/cloudflare/python-cloudflare/commit/604d2bd96dd90e5c6638f8b01169dafbf1a23a35) now testing api calls with three id values
 - 2024-01-12 11:05:06 -0800 [1a5a859](https://github.com/cloudflare/python-cloudflare/commit/1a5a8599b07e128f8834aa765537937e1d2974b7) improve error message responses for 400-405 http reponses code - they now decode Cloudflare error values
 - 2024-01-11 15:32:09 -0800 [e3b2631](https://github.com/cloudflare/python-cloudflare/commit/e3b26318cb334f913b4c1c4c4d29be4cde80b8ab) tuna tweeks, coverage html added
 - 2024-01-11 13:44:54 -0800 [dc18d57](https://github.com/cloudflare/python-cloudflare/commit/dc18d571b3533a69c2dfdc39fc25a97b7ff58977) lint found minor stuff
 - 2024-01-11 13:44:19 -0800 [c7658a3](https://github.com/cloudflare/python-cloudflare/commit/c7658a38ee5143f06a5a99ea3201fdebc4487a6f) lint found minor stuff, fixed longstanding _parts list size
 - 2024-01-11 11:48:33 -0800 [1ba1ca5](https://github.com/cloudflare/python-cloudflare/commit/1ba1ca5d6a209115a4c58b4673cc9d20fe887c30) lint found minor stuff
 - 2024-01-11 11:47:37 -0800 [dbec555](https://github.com/cloudflare/python-cloudflare/commit/dbec555e4151cd8db0ef78b8ea79c04af4f2bca6) added lots of %s %r tests
 - 2024-01-11 11:39:06 -0800 [e44bf75](https://github.com/cloudflare/python-cloudflare/commit/e44bf75ce6b4138c7b308bc91ae1d481a9bf8f16) lint found minor stuff
 - 2024-01-11 11:38:12 -0800 [0ac418b](https://github.com/cloudflare/python-cloudflare/commit/0ac418bdec9b39f4a2990a54a3cc314c8a259386) updated lint rules
 - 2024-01-05 15:44:19 -0800 [3d9f960](https://github.com/cloudflare/python-cloudflare/commit/3d9f960b7eef90f533e418007f062fc52b0cfcbf) cleanup of application/octet-stream duplicate code
 - 2024-01-05 15:24:29 -0800 [cbf250f](https://github.com/cloudflare/python-cloudflare/commit/cbf250f71c1695ff8c66973b374e6cbcc3221ec2) /accounts/:id/urlscanner/scan/:id/screenshot returns a binary object - a png file
 - 2024-01-05 12:39:27 -0800 [231b7a7](https://github.com/cloudflare/python-cloudflare/commit/231b7a7197fcc8c47aa44c901a409e4532e683d4) handle zero length content responses (normally 204 returns to delete)
 - 2024-01-05 12:38:47 -0800 [ed08910](https://github.com/cloudflare/python-cloudflare/commit/ed08910ec5a4f5ec9dc9484cfdd19c5bf1770acf) testing rulesets where response is None to delete

2.16.0

 - 2024-01-04 15:42:32 -0800 [ce080f3](https://github.com/cloudflare/python-cloudflare/commit/ce080f3da8061dabbc0fc1604e92eaba4f0a4cf1) 2.16.0
 - 2024-01-04 15:42:09 -0800 [f2441b1](https://github.com/cloudflare/python-cloudflare/commit/f2441b1f2320840fed526d81370cbde5f00d8b4e) added CloudFlare/tests as a package - a better place to keep tests
 - 2024-01-04 15:39:18 -0800 [401149c](https://github.com/cloudflare/python-cloudflare/commit/401149c20e074b824fc8f4467c92b08fa327f568) return http code 200 and more 2xx now accepted, check for decode() errors
 - 2024-01-04 15:37:25 -0800 [68ab29c](https://github.com/cloudflare/python-cloudflare/commit/68ab29c6a6d8963025bfb29ba1908881edbb93a7) confine account to first one
 - 2024-01-04 15:36:51 -0800 [7e88785](https://github.com/cloudflare/python-cloudflare/commit/7e88785a2439f76f7e9e6264d34f200550e6c4c6) testing pdf uploading and downloading
 - 2024-01-02 09:00:43 -0800 [6ba9ced](https://github.com/cloudflare/python-cloudflare/commit/6ba9ced49892023377cff9298d652a6dbc857d0f) cleanup to show correct sequence of firewall and filter creation and deletion
 - 2024-01-01 17:30:17 -0800 [8a04e95](https://github.com/cloudflare/python-cloudflare/commit/8a04e956687e42dafd244d65cb4eb32fa05f10ca) now builds TABLE-OF-COMMANDS.md
 - 2024-01-01 17:29:31 -0800 [0c85423](https://github.com/cloudflare/python-cloudflare/commit/0c85423812fec5bd8720292259b189175da99590) more table - based on examples/example_list_api_from_web.py
 - 2024-01-01 17:21:23 -0800 [38ea7a2](https://github.com/cloudflare/python-cloudflare/commit/38ea7a2cf476d098b4d391ae3fbc3eaec25ade67) moved to api_from_openapi()
 - 2024-01-01 17:11:09 -0800 [f42454b](https://github.com/cloudflare/python-cloudflare/commit/f42454ba2b3e269d64e44126f364338865d88b1b) update email examples to reflect newer api
 - 2024-01-01 13:09:11 -0800 [e6d9692](https://github.com/cloudflare/python-cloudflare/commit/e6d9692dfa29e12bcb4656b4c8542ae023a6ae9d) added workers create and delete
 - 2023-12-31 16:55:20 -0800 [2ff132d](https://github.com/cloudflare/python-cloudflare/commit/2ff132db5e276238e387baaca11d96bdd62a477d) test invalid dns records
 - 2023-12-31 16:19:21 -0800 [26a90c3](https://github.com/cloudflare/python-cloudflare/commit/26a90c3703d0960c7a6d8b78170a520f2408d157) more tests - invalid types and string returns
 - 2023-12-31 16:15:12 -0800 [8dbf8cd](https://github.com/cloudflare/python-cloudflare/commit/8dbf8cd2cbcbccdbb28eb84b24345e6254089c26) force check for None on email/key/token/certtoken
 - 2023-12-31 12:42:47 -0800 [e7224a8](https://github.com/cloudflare/python-cloudflare/commit/e7224a844c48abc7668ef5c8672654a14e3d81f7) /graphql tests
 - 2023-12-31 12:04:15 -0800 [28a3fd7](https://github.com/cloudflare/python-cloudflare/commit/28a3fd7a686e6050f0aee3cf23d604c4c89aa0a9) incorrect coding of /zones/:id/logs/received/fields
 - 2023-12-31 11:34:41 -0800 [0487170](https://github.com/cloudflare/python-cloudflare/commit/048717072aa7bef0b4826cd3fbb761f2fdd7fa09) typo
 - 2023-12-31 11:11:43 -0800 [3124aa6](https://github.com/cloudflare/python-cloudflare/commit/3124aa6b0d999d8e7d2c3248cc241d58c878fc1a) easier date code
 - 2023-12-31 10:47:45 -0800 [08d9d4c](https://github.com/cloudflare/python-cloudflare/commit/08d9d4cb5ea721f8e69ceb15799e82143bb77ef6) test raw=True calls via listing zones
 - 2023-12-31 09:44:48 -0800 [0b6271a](https://github.com/cloudflare/python-cloudflare/commit/0b6271aebfbe77e099f42db5b7f46355dcfe295e) moved /tests to /CloudFlare/tests
 - 2023-12-31 09:37:34 -0800 [74c7ce0](https://github.com/cloudflare/python-cloudflare/commit/74c7ce0920a67f34dde5a3cd7c6edd5a5fb42c8f) removed api_decode_from_web.py as the old api.cloudflare.com website has gone away
</tr></table> 

... (truncated)

Changelog

Sourced from cloudflare's changelog.

Change Log

  • 2024-01-22 22:28:12 +0000 fadbace 2.17.0
  • 2024-01-22 22:27:13 +0000 ee72509 make 4xx error handling more generic
  • 2024-01-22 22:26:13 +0000 ea9e609 testing load balancers becuase they return 412 HTTP errors
  • 2024-01-21 17:38:08 +0000 e09b075 debug messages line lenght needs to be longer so that error return messages are shown clearly
  • 2024-01-20 18:21:28 +0000 3b8e699 issue-181 HTTP response code 412 not handled
  • 2024-01-12 12:34:07 -0800 2da9a7b handle 404 errors with invalid API error structure
  • 2024-01-12 12:33:24 -0800 f39b3c1 test get/put/patch/delete and post with no data - all expected return error
  • 2024-01-12 11:42:56 -0800 6acca0e now testing api calls with four id values
  • 2024-01-12 11:06:44 -0800 604d2bd now testing api calls with three id values
  • 2024-01-12 11:05:06 -0800 1a5a859 improve error message responses for 400-405 http reponses code - they now decode Cloudflare error values
  • 2024-01-11 15:32:09 -0800 e3b2631 tuna tweeks, coverage html added
  • 2024-01-11 13:44:54 -0800 dc18d57 lint found minor stuff
  • 2024-01-11 13:44:19 -0800 c7658a3 lint found minor stuff, fixed longstanding _parts list size
  • 2024-01-11 11:48:33 -0800 1ba1ca5 lint found minor stuff
  • 2024-01-11 11:47:37 -0800 dbec555 added lots of %s %r tests
  • 2024-01-11 11:39:06 -0800 e44bf75 lint found minor stuff
  • 2024-01-11 11:38:12 -0800 0ac418b updated lint rules
  • 2024-01-05 15:44:19 -0800 3d9f960 cleanup of application/octet-stream duplicate code
  • 2024-01-05 15:24:29 -0800 cbf250f /accounts/:id/urlscanner/scan/:id/screenshot returns a binary object - a png file
  • 2024-01-05 12:39:27 -0800 231b7a7 handle zero length content responses (normally 204 returns to delete)
  • 2024-01-05 12:38:47 -0800 ed08910 testing rulesets where response is None to delete
  • 2024-01-04 15:43:43 -0800 26893b2 CHANGELOG.md pushed to github
  • 2024-01-04 15:42:32 -0800 ce080f3 2.16.0
  • 2024-01-04 15:42:09 -0800 f2441b1 added CloudFlare/tests as a package - a better place to keep tests
  • 2024-01-04 15:39:18 -0800 401149c return http code 200 and more 2xx now accepted, check for decode() errors
  • 2024-01-04 15:37:25 -0800 68ab29c confine account to first one
  • 2024-01-04 15:36:51 -0800 7e88785 testing pdf uploading and downloading
  • 2024-01-02 09:00:43 -0800 6ba9ced cleanup to show correct sequence of firewall and filter creation and deletion
  • 2024-01-01 17:30:17 -0800 8a04e95 now builds TABLE-OF-COMMANDS.md
  • 2024-01-01 17:29:31 -0800 0c85423 more table - based on examples/example_list_api_from_web.py
  • 2024-01-01 17:21:23 -0800 38ea7a2 moved to api_from_openapi()
  • 2024-01-01 17:11:09 -0800 f42454b update email examples to reflect newer api
  • 2024-01-01 13:09:11 -0800 e6d9692 added workers create and delete
  • 2023-12-31 16:55:20 -0800 2ff132d test invalid dns records
  • 2023-12-31 16:19:21 -0800 26a90c3 more tests - invalid types and string returns
  • 2023-12-31 16:15:12 -0800 8dbf8cd force check for None on email/key/token/certtoken
  • 2023-12-31 12:42:47 -0800 e7224a8 /graphql tests
  • 2023-12-31 12:04:15 -0800 28a3fd7 incorrect coding of /zones/:id/logs/received/fields
  • 2023-12-31 11:34:41 -0800 0487170 typo
  • 2023-12-31 11:11:43 -0800 3124aa6 easier date code
  • 2023-12-31 10:47:45 -0800 08d9d4c test raw=True calls via listing zones
  • 2023-12-31 09:44:48 -0800 0b6271a moved /tests to /CloudFlare/tests
  • 2023-12-31 09:37:34 -0800 74c7ce0 removed api_decode_from_web.py as the old api.cloudflare.com website has gone away
  • 2023-12-31 09:36:06 -0800 5795d40 moved /tests to /CloudFlare/tests. Removed find_package - as it was installing /tests and conflicting with other packages
  • 2023-12-31 09:33:59 -0800 5622686 tests more return values
  • 2023-12-31 09:33:05 -0800 fb245ee OpenAPI code now returns clean errors and version number. cli4 prints fetch errors cleanly
  • 2023-12-30 18:13:09 -0800 d6cd999 moved tests to under CloudFlare
  • 2023-12-30 18:06:31 -0800 5390d3d typo

... (truncated)

Commits
  • e90d38e handle case where zone and account disallow load balancing
  • cf595ab CHANGELOG.md pushed to github
  • fadbace 2.17.0
  • ee72509 make 4xx error handling more generic
  • ea9e609 testing load balancers becuase they return 412 HTTP errors
  • e09b075 debug messages line lenght needs to be longer so that error return messages a...
  • 3b8e699 issue-181 HTTP response code 412 not handled
  • 2da9a7b handle 404 errors with invalid API error structure
  • f39b3c1 test get/put/patch/delete and post with no data - all expected return error
  • 6acca0e now testing api calls with four id values
  • Additional commits viewable in compare view


Updates django from 5.0 to 5.0.2

Commits
  • 428d06c [5.0.x] Bumped version for 5.0.2 release.
  • 16a8fe1 [5.0.x] Fixed CVE-2024-24680 -- Mitigated potential DoS in intcomma template ...
  • 2cfa3fb [5.0.x] Changed severity levels to list in security policy docs.
  • 761946f [5.0.x] Fixed #35149 -- Fixed crashes of db_default with unresolvable output ...
  • 914eee1 [5.0.x] Refs #35149 -- Made equivalent db_default alterations noops.
  • 3e7a30f [5.0.x] Fixed #35162 -- Fixed crash when adding fields with db_default on MySQL.
  • 741f080 [5.0.x] Fixed #35147 -- Added backward incompatibility note about filtering a...
  • 58d5e57 [5.0.x] Fixed typo in docs/topics/db/managers.txt.
  • a8f9c29 [5.0.x] Removed mention of designers in DTL design philosophy.
  • 06b05c7 [5.0.x] Refs #34936 -- Added test for altering DecimalField with db_default t...
  • Additional commits viewable in compare view


Updates pytest from 7.4.3 to 8.0.0

Release notes

Sourced from pytest's releases.

pytest 8.0.0 (2024-01-27)

See 8.0.0rc1 and 8.0.0rc2 for the full changes since pytest 7.4!

Bug Fixes

  • #11842: Properly escape the reason of a skip <pytest.mark.skip ref>{.interpreted-text role="ref"} mark when writing JUnit XML files.
  • #11861: Avoid microsecond exceeds 1_000_000 when using log-date-format with %f specifier, which might cause the test suite to crash.

8.0.0rc2

pytest 8.0.0rc2 (2024-01-17)

Improvements

  • #11233: Improvements to -r for xfailures and xpasses:
    • Report tracebacks for xfailures when -rx is set.
    • Report captured output for xpasses when -rX is set.
    • For xpasses, add - in summary between test name and reason, to match how xfail is displayed.
  • #11825: The pytest_plugin_registered{.interpreted-text role="hook"} hook has a new plugin_name parameter containing the name by which plugin is registered.

Bug Fixes

  • #11706: Fix reporting of teardown errors in higher-scoped fixtures when using [--maxfail]{.title-ref} or [--stepwise]{.title-ref}.

  • #11758: Fixed IndexError: string index out of range crash in if highlighted[-1] == "\n" and source[-1] != "\n". This bug was introduced in pytest 8.0.0rc1.

  • #9765, #11816: Fixed a frustrating bug that afflicted some users with the only error being assert mod not in mods. The issue was caused by the fact that str(Path(mod)) and mod.__file__ don't necessarily produce the same string, and was being erroneously used interchangably in some places in the code.

    This fix also broke the internal API of PytestPluginManager.consider_conftest by introducing a new parameter -- we mention this in case it is being used by external code, even if marked as private.

pytest 8.0.0rc1 (2023-12-30)

See https://docs.pytest.org/en/latest/changelog.html#pytest-8-0-0rc1-2023-12-30 for the rendered changelog.

Breaking Changes

Old Deprecations Are Now Errors

  • #7363: PytestRemovedIn8Warning deprecation warnings are now errors by default.

    Following our plan to remove deprecated features with as little disruption as possible, all warnings of type PytestRemovedIn8Warning now generate errors instead of warning messages by default.

    The affected features will be effectively removed in pytest 8.1, so please consult the deprecations{.interpreted-text role="ref"} section in the docs for directions on how to update existing code.

    In the pytest 8.0.X series, it is possible to change the errors back into warnings as a stopgap measure by adding this to your pytest.ini file:

    [pytest]
    

... (truncated)

Commits
  • 478f823 Prepare release version 8.0.0
  • 6085900 [8.0.x] fix: avoid rounding microsecond to 1_000_000 (#11863)
  • 3b41c65 [8.0.x] Escape skip reason in junitxml (#11845)
  • 747072a [8.0.x] Update docstring of scripts/generate-gh-release-notes.py (#11768)
  • 011a475 Properly attach packages to the GH release notes (#11839) (#11840)
  • 97960bd Merge pull request #11835 from pytest-dev/release-8.0.0rc2
  • 6be0a3c Prepare release version 8.0.0rc2
  • 44ffe07 Merge pull request #11837 from pytest-dev/backport-11836-to-8.0.x
  • 14ecb04 [8.0.x] testing: temporarily disable test due to hypothesis issue
  • 41c8dab Merge pull request #11831 from bluetech/backport-11825-to-8.0.x
  • 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 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
dependabot[bot] commented 9 months ago

Superseded by #402.