baoliay2008 / lccn_predictor

LeetCode Contest Rating Prediction
https://lccn.lbao.site
MIT License
566 stars 22 forks source link

⬆️ chore(deps): Bump the all group with 23 updates #63

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 2 months ago

Bumps the all group with 23 updates:

Package From To
anyio 3.7.1 4.3.0
beanie 1.23.6 1.25.0
certifi 2023.11.17 2024.2.2
dnspython 2.4.2 2.6.1
fastapi 0.105.0 0.110.0
httpcore 1.0.2 1.0.5
httpx 0.26.0 0.27.0
llvmlite 0.41.1 0.42.0
motor 3.3.2 3.4.0
numba 0.58.1 0.59.1
numpy 1.26.2 1.26.4
packaging 23.2 24.0
pluggy 1.3.0 1.4.0
pydantic 2.5.3 2.6.4
pydantic-core 2.14.6 2.17.0
pymongo 4.6.1 4.6.3
pytest 7.4.3 8.1.1
pytz 2023.3.post1 2024.1
scipy 1.11.4 1.12.0
sniffio 1.3.0 1.3.1
starlette 0.27.0 0.37.2
typing-extensions 4.9.0 4.10.0
uvicorn 0.25.0 0.29.0

Updates anyio from 3.7.1 to 4.3.0

Release notes

Sourced from anyio's releases.

4.3.0

  • Added support for the Python 3.12 walk_up keyword argument in anyio.Path.relative_to() (PR by Colin Taylor)

  • Fixed passing total_tokens to anyio.CapacityLimiter() as a keyword argument not working on the trio backend (#515)

  • Fixed Process.aclose() not performing the minimum level of necessary cleanup when cancelled. Previously:

    • Cancellation of Process.aclose() could leak an orphan process
    • Cancellation of run_process() could very briefly leak an orphan process.
    • Cancellation of Process.aclose() or run_process() on Trio could leave standard streams unclosed

    (PR by Ganden Schaffner)

  • Fixed Process.stdin.aclose(), Process.stdout.aclose(), and Process.stderr.aclose() not including a checkpoint on asyncio (PR by Ganden Schaffner)

  • Fixed documentation on how to provide your own typed attributes

4.2.0

  • Add support for byte-based paths in connect_unix, create_unix_listeners, create_unix_datagram_socket, and create_connected_unix_datagram_socket. (PR by Lura Skye)

  • Enabled the Event and CapacityLimiter classes to be instantiated outside an event loop thread

  • Broadly improved/fixed the type annotations. Among other things, many functions and methods that take variadic positional arguments now make use of PEP 646 TypeVarTuple to allow the positional arguments to be validated by static type checkers. These changes affected numerous methods and functions, including:

    • anyio.run()
    • TaskGroup.start_soon()
    • anyio.from_thread.run()
    • anyio.from_thread.run_sync()
    • anyio.to_thread.run_sync()
    • anyio.to_process.run_sync()
    • BlockingPortal.call()
    • BlockingPortal.start_task_soon()
    • BlockingPortal.start_task()

    (also resolves #560)

  • Fixed various type annotations of anyio.Path to match Typeshed:

    • anyio.Path.__lt__()
    • anyio.Path.__le__()
    • anyio.Path.__gt__()
    • anyio.Path.__ge__()
    • anyio.Path.__truediv__()
    • anyio.Path.__rtruediv__()
    • anyio.Path.hardlink_to()
    • anyio.Path.samefile()
    • anyio.Path.symlink_to()
    • anyio.Path.with_segments()

    (PR by Ganden Schaffner)

... (truncated)

Changelog

Sourced from anyio's changelog.

Version history

This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.

UNRELEASED

  • Fixed erroneous TypedAttributeLookupError if a typed attribute getter raises KeyError

4.3.0

  • Added support for the Python 3.12 walk_up keyword argument in anyio.Path.relative_to() (PR by Colin Taylor)

  • Fixed passing total_tokens to anyio.CapacityLimiter() as a keyword argument not working on the trio backend ([#515](https://github.com/agronholm/anyio/issues/515) <https://github.com/agronholm/anyio/issues/515>_)

  • Fixed Process.aclose() not performing the minimum level of necessary cleanup when cancelled. Previously:

    • Cancellation of Process.aclose() could leak an orphan process
    • Cancellation of run_process() could very briefly leak an orphan process.
    • Cancellation of Process.aclose() or run_process() on Trio could leave standard streams unclosed

    (PR by Ganden Schaffner)

  • Fixed Process.stdin.aclose(), Process.stdout.aclose(), and Process.stderr.aclose() not including a checkpoint on asyncio (PR by Ganden Schaffner)

  • Fixed documentation on how to provide your own typed attributes

4.2.0

  • Add support for byte-based paths in connect_unix, create_unix_listeners, create_unix_datagram_socket, and create_connected_unix_datagram_socket. (PR by Lura Skye)

  • Enabled the Event and CapacityLimiter classes to be instantiated outside an event loop thread

  • Broadly improved/fixed the type annotations. Among other things, many functions and methods that take variadic positional arguments now make use of PEP 646 TypeVarTuple to allow the positional arguments to be validated by static type checkers. These changes affected numerous methods and functions, including:

    • anyio.run()
    • TaskGroup.start_soon()
    • anyio.from_thread.run()
    • anyio.from_thread.run_sync()
    • anyio.to_thread.run_sync()
    • anyio.to_process.run_sync()
    • BlockingPortal.call()

... (truncated)

Commits
  • 437a7e3 Bumped up the version
  • 1ce32e5 Updated the upload/download artifact actions
  • d39c837 [pre-commit.ci] pre-commit autoupdate (#690)
  • ba48ea8 Added the network marker to some tests that need DNS (#687)
  • 5426f7b Remove conditionals and workarounds for Python interpreter versions 3.7 and o...
  • 7565f31 [pre-commit.ci] pre-commit autoupdate (#684)
  • 137de70 Fixed documentation on providing custom typed attributes (#683)
  • 8b8806c Fixed typo (#681)
  • 1e60219 Fixed run_process() and open_process().__aexit__ leaking an orphan proces...
  • 3f14df8 [pre-commit.ci] pre-commit autoupdate (#676)
  • Additional commits viewable in compare view


Updates beanie from 1.23.6 to 1.25.0

Release notes

Sourced from beanie's releases.

1.25.0

Encode Date Objects

Fix: Findinterface Type-Hints Break On View Models

Fix: Count With Text Queries And Links

Update Migration Command To Enable/Disable Transactions

Sync Method

Limit Nesting Level Of Linked Documents

WARNING: This is a breaking change. Please, read the docs before updating.

1.24.0

Exclude revision_id From The get_changes Method

Add Support For Custom Bucket Fields In Time Series

Add Bson Maxkey And Minkey

Update Model During Save Validation

Fix init_beanie document_models Type Hint

Fix Encoding Keys In Mapping Branch Of Encoder

... (truncated)

Changelog

Sourced from beanie's changelog.

1.25.0 - 2024-01-24

Encode Date Objects

Fix: Findinterface Type-Hints Break On View Models

Fix: Count With Text Queries And Links

Update Migration Command To Enable/Disable Transactions

Sync Method

Limit Nesting Level Of Linked Documents

WARNING: This is a breaking change. Please, read the docs before updating.

[1.24.0] - 2023-12-24

Exclude revision_id From The get_changes Method

Add Support For Custom Bucket Fields In Time Series

Add Bson Maxkey And Minkey

Update Model During Save Validation

Fix init_beanie document_models Type Hint

... (truncated)

Commits


Updates certifi from 2023.11.17 to 2024.2.2

Commits
  • 45eb611 2024.02.02 (#266)
  • 83f4f04 fix leaking certificate issue (#265)
  • bbf2208 Bump actions/upload-artifact from 4.2.0 to 4.3.0 (#264)
  • 9e837a5 Bump actions/upload-artifact from 4.1.0 to 4.2.0 (#262)
  • 05d071b Bump actions/upload-artifact from 4.0.0 to 4.1.0 (#261)
  • 2a3088a Bump actions/download-artifact from 4.1.0 to 4.1.1 (#260)
  • d4ca66e Bump actions/upload-artifact from 3.1.3 to 4.0.0 (#258)
  • 5d15663 Bump actions/download-artifact from 3.0.2 to 4.1.0 (#257)
  • d66ef9d Bump actions/setup-python from 4.7.1 to 5.0.0 (#256)
  • 8f0d412 Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 (#255)
  • Additional commits viewable in compare view


Updates dnspython from 2.4.2 to 2.6.1

Release notes

Sourced from dnspython's releases.

dnspython 2.6.1

See What's New for details.

This is a bug fix release for 2.6.0 where the "TuDoor" fix erroneously suppressed legitimate Truncated exceptions. This caused the stub resolver to timeout instead of failing over to TCP when a legitimate truncated response was received over UDP.

This release addresses the potential DoS issue discussed in the "TuDoor" paper (CVE-2023-29483). The dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query. In this situation, dnspython might switch to querying another resolver or give up entirely, possibly denying service for that resolution. This release addresses the issue by adopting the recommended mitigation, which is ignoring the bad packets and continuing to listen for a legitimate response until the timeout for the query has expired.

Thank you to all the contributors to this release, and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.

dnspython 2.6.0

See What's New for details.

This release addresses the potential DoS issue discussed in the "TuDoor" paper (CVE-2023-29483). The dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query. In this situation, dnspython might switch to querying another resolver or give up entirely, possibly denying service for that resolution. This release addresses the issue by adopting the recommended mitigation, which is ignoring the bad packets and continuing to listen for a legitimate response until the timeout for the query has expired.

Thank you to all the contributors to this release, and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.

dnspython 2.5.0

See the What's New page for a summary of this release.

Thanks to all the contributors, and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.

Changelog

Sourced from dnspython's changelog.

2.6.1

  • The Tudoor fix ate legitimate Truncated exceptions, preventing the resolver from failing over to TCP and causing the query to timeout #1053.

2.6.0

  • As mentioned in the "TuDoor" paper and the associated CVE-2023-29483, the dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query.

    This release addresses the issue by adopting the recommended mitigation, which is ignoring the bad packets and continuing to listen for a legitimate response until the timeout for the query has expired.

  • Added support for the NSID EDNS option.

  • Dnspython now looks for version metadata for optional packages and will not use them if they are too old. This prevents possible exceptions when a feature like DoH is not desired in dnspython, but an old httpx is installed along with dnspython for some other purpose.

  • The DoHNameserver class now allows GET to be used instead of the default POST, and also passes source and source_port correctly to the underlying query methods.

2.5.0

  • Dnspython now uses hatchling for builds.

  • Asynchronous destinationless sockets now work on Windows.

  • Cython is no longer supported due to various typing issues.

  • Dnspython now explicitly canonicalizes IPv4 and IPv6 addresses. Previously it was possible for non-canonical IPv6 forms to be stored in a AAAA address, which would work correctly but possibly cause problmes if the address were used as a key in a dictionary.

  • The number of messages in a section can be retrieved with section_count().

  • Truncation preferences for messages can be specified.

  • The length of a message can be automatically prepended when rendering.

... (truncated)

Commits
  • 0a742b9 update CI
  • 0ea5ad0 The Tudoor fix should not eat valid Truncated exceptions #1053 (#1054)
  • f12d398 2.6.1 version prep
  • cecb853 Further improve CVE fix coverage to 100% for sync and async.
  • 7952e31 test IgnoreErrors
  • e093299 For the Tudoor fix, we also need the UDP nameserver to ignore_unexpected.
  • 3af9f78 2.6.0 versioning
  • ca63d95 Require cryptography >=41 instead of 42.
  • 902cbf3 Create CODE_OF_CONDUCT.md
  • ed9795f github contributing and pull request template
  • Additional commits viewable in compare view


Updates fastapi from 0.105.0 to 0.110.0

Release notes

Sourced from fastapi's releases.

0.110.0

Breaking Changes

  • 🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with yield and except to require raising again as in regular Python. PR #11191 by @​tiangolo.
    • This is a breaking change (and only slightly) if you used dependencies with yield, used except in those dependencies, and didn't raise again.
    • This was reported internally by @​rushilsrivastava as a memory leak when the server had unhandled exceptions that would produce internal server errors, the memory allocated before that point would not be released.
    • Read the new docs: Dependencies with yield and except.

In short, if you had dependencies that looked like:

def my_dep():
    try:
        yield
    except SomeException:
        pass

Now you need to make sure you raise again after except, just as you would in regular Python:

def my_dep():
    try:
        yield
    except SomeException:
        raise

Docs

Translations

  • 🌐 Add German translation for docs/de/docs/reference/background.md. PR #10820 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/reference/templating.md. PR #10842 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/external-links.md. PR #10852 by @​nilslindemann.
  • 🌐 Update Turkish translation for docs/tr/docs/tutorial/query-params.md. PR #11162 by @​hasansezertasan.
  • 🌐 Add German translation for docs/de/docs/reference/encoders.md. PR #10840 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/reference/responses.md. PR #10825 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/reference/request.md. PR #10821 by @​nilslindemann.
  • 🌐 Add Turkish translation for docs/tr/docs/tutorial/query-params.md. PR #11078 by @​emrhnsyts.
  • 🌐 Add German translation for docs/de/docs/reference/fastapi.md. PR #10813 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/newsletter.md. PR #10853 by @​nilslindemann.
  • 🌐 Add Traditional Chinese translation for docs/zh-hant/docs/learn/index.md. PR #11142 by @​hsuanchi.
  • 🌐 Add Korean translation for /docs/ko/docs/tutorial/dependencies/global-dependencies.md. PR #11123 by @​riroan.
  • 🌐 Add Korean translation for /docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md. PR #11124 by @​riroan.
  • 🌐 Add Korean translation for /docs/ko/docs/tutorial/schema-extra-example.md. PR #11121 by @​KaniKim.
  • 🌐 Add Korean translation for /docs/ko/docs/tutorial/body-fields.md. PR #11112 by @​KaniKim.

... (truncated)

Commits
  • e40747f 🔖 Release version 0.110.0
  • 32b56a8 📝 Update release notes
  • b6b0f2a 📝 Update release notes
  • bf771bd 🐛 Fix unhandled growing memory for internal server errors, refactor dependenc...
  • 6336604 📝 Update release notes
  • cb93874 📝 Update release notes
  • 9210e6a 🌐 Add German translation for docs/de/docs/reference/background.md (#10820)
  • dec45c5 🌐 Add German translation for docs/de/docs/reference/templating.md (#10842)
  • 5da35ff 📝 Update release notes
  • 626b066 🌐 Add German translation for docs/de/docs/external-links.md (#10852)
  • Additional commits viewable in compare view


Updates httpcore from 1.0.2 to 1.0.5

Release notes

Sourced from httpcore's releases.

Version 1.0.5

1.0.5 (March 27th, 2024)

Version 1.0.4

1.0.4 (February 21st, 2024)

  • Add target request extension. (#888)
  • Fix support for connection Upgrade and CONNECT when some data in the stream has been read. (#882)

Version 1.0.3

1.0.3 (February 13th, 2024)

  • Fix support for async cancellations. (#880)
  • Fix trace extension when used with socks proxy. (#849)
  • Fix SSL context for connections using the "wss" scheme (#869)
Changelog

Sourced from httpcore's changelog.

1.0.5 (March 27th, 2024)

  • Handle EndOfStream exception for anyio backend. (#899)
  • Allow trio 0.25.* series in package dependancies. (#903)

1.0.4 (February 21st, 2024)

  • Add target request extension. (#888)
  • Fix support for connection Upgrade and CONNECT when some data in the stream has been read. (#882)

1.0.3 (February 13th, 2024)

  • Fix support for async cancellations. (#880)
  • Fix trace extension when used with socks proxy. (#849)
  • Fix SSL context for connections using the "wss" scheme (#869)
Commits


Updates httpx from 0.26.0 to 0.27.0

Release notes

Sourced from httpx's releases.

Version 0.27.0

0.27.0 (21st February, 2024)

Deprecated

  • The app=... shortcut has been deprecated. Use the explicit style of transport=httpx.WSGITransport() or transport=httpx.ASGITransport() instead.

Fixed

  • Respect the http1 argument while configuring proxy transports. (#3023)
  • Fix RFC 2069 mode digest authentication. (#3045)
Changelog

Sourced from httpx's changelog.

0.27.0 (21st February, 2024)

Deprecated

  • The app=... shortcut has been deprecated. Use the explicit style of transport=httpx.WSGITransport() or transport=httpx.ASGITransport() instead.

Fixed

  • Respect the http1 argument while configuring proxy transports. (#3023)
  • Fix RFC 2069 mode digest authentication. (#3045)
Commits


Updates llvmlite from 0.41.1 to 0.42.0

Commits
  • b2a26aa Merge pull request #1029 from stuartarchibald/wip/change_log_0_42_0_final
  • 2c3dae0 Update CHANGE_LOG for 0.42.0 final.
  • c0c7726 Initialize 0.42 branch
  • f22420a Merge pull request #1021 from gmarkall/release-notes-042
  • 83a8829 Update CHANGE_LOG
  • ab073f5 Add release notes for 0.42.0rc1
  • 4292eea Merge pull request #978 from tbennun/type-query-4
  • 80bb55b Add test for is_function_vararg on non-function type
  • fe53feb Merge remote-tracking branch 'origin/main' into pr/978
  • e70590f Merge pull request #1019 from diptorupd/add_convergent_attribute
  • Additional commits viewable in compare view


Updates motor from 3.3.2 to 3.4.0

Release notes

Sourced from motor's releases.

Motor 3.4.0

Community post: https://www.mongodb.com/community/forums/t/motor-3-4-0-release/272987

Changelog

Sourced from motor's changelog.

Motor 3.4.0

  • Type hint bug fixes and improvements. Added typings to classes in motor_tornado and motor_asyncio.
Commits
  • 19eeb29 BUMP 3.4.0
  • 72e8655 MOTOR-1286 Update Changelog for 3.4.0 (#273)
  • 0f1a6cd [Motor-1175] Document Network Compression (#271)
  • 7bcea04 MOTOR-1279 Improve Motor Typing (#269)
  • f4832d9 MOTOR-1284 Fix Cryptography Install on PyPy3.8 (#270)
  • 2d35987 [MOTOR-1269] Exclude Synchro test TestUnifiedInterruptInUsePoolClear (#268)
  • 1414d0f MOTOR-1282 Stop using filemd5 in docs example for db.command (#267)
  • 9d00dd2 MOTOR-1277 Limit when pull request-specific tasks are run (#266)
  • 228e76a MOTOR-1271 Use GitHub App to Auto Assign Reviewer (#265)
  • e8a6d6d MOTOR-1257 key_id can be passed as UUID with pymongo>=4.7 (#264)
  • Additional commits viewable in compare view


Updates numba from 0.58.1 to 0.59.1

Release notes

Sourced from numba's releases.

Numba 0.59.1

Numba patch release.

Numba 0.59.0

Major Numba release supporting Python 3.12

Commits
  • 9ce83ef Merge pull request #9480 from sklam/misc/rel0.59.1_patches
  • 58b4954 Update docs/source/user/installing.rst
  • b39bdf2 Reduce thread use to avoid stuck in TBB on machines with high thread count.
  • 3411945 Bump release date
  • db03908 Skip test_issue9490_non_det_ssa_problem for PPC
  • d39f16b Update changelog
  • a0eb243 Merge pull request #9491 from sklam/fix/iss9490
  • e503a5d Remove release notes for 0.59.1
  • 80211ed Add 0.59.1 release note
  • aae4820 Remove notes from 0.59.0
  • Additional commits viewable in compare view


Updates numpy from 1.26.2 to 1.26.4

Release notes

Sourced from numpy's releases.

v1.26.4

NumPy 1.26.4 Release Notes

NumPy 1.26.4 is a maintenance release that fixes bugs and regressions discovered after the 1.26.3 release. The Python versions supported by this release are 3.9-3.12. This is the last planned release in the 1.26.x series.

Contributors

A total of 13 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

  • Charles Harris
  • Elliott Sales de Andrade
  • Lucas Colley +
  • Mark Ryan +
  • Matti Picus
  • Nathan Goldbaum
  • Ola x Nilsson +
  • Pieter Eendebak
  • Ralf Gommers
  • Sayed Adel
  • Sebastian Berg
  • Stefan van der Walt
  • Stefano Rivera

Pull requests merged

A total of 19 pull requests were merged for this release.

  • #25323: BUG: Restore missing asstr import
  • #25523: MAINT: prepare 1.26.x for further development
  • #25539: BUG: numpy.array_api: fix linalg.cholesky upper decomp...
  • #25584: CI: Bump azure pipeline timeout to 120 minutes
  • #25585: MAINT, BLD: Fix unused inline functions warnings on clang
  • #25599: BLD: include fix for MinGW platform detection
  • #25618: TST: Fix test_numeric on riscv64
  • #25619: BLD: fix building for windows ARM64
  • #25620: MAINT: add newaxis to __all__ in numpy.array_api
  • #25630: BUG: Use large file fallocate on 32 bit linux platforms
  • #25643: TST: Fix test_warning_calls on Python 3.12
  • #25645: TST: Bump pytz to 2023.3.post1
  • #25658: BUG: Fix AVX512 build flags on Intel Classic Compiler
  • #25670: BLD: fix potential issue with escape sequences in __config__.py
  • #25718: CI: pin cygwin python to 3.9.16-1 and fix typing tests [skip...
  • #25720: MAINT: Bump cibuildwheel to v2.16.4
  • #25748: BLD: unvendor meson-python on 1.26.x and upgrade to meson-python...
  • #25755: MAINT: Include header defining backtrace
  • #25756: BUG: Fix np.quantile([Fraction(2,1)], 0.5) (#24711)

... (truncated)

Commits
  • 9815c16 Merge pull request #25770 from charris/prepare-1.26.4
  • 114ed25 REL: Prepare for the NumPy 1.26.4 release
  • 2fae4d3 Merge pull request #25323 from stefanor/import-asstr
  • ce89a0a Merge pull request #25756 from charris/backport-24711
  • f62dfc6 Merge pull request #25755 from charris/backport-25709
  • fee88ab BUG: Fix np.quantile([Fraction(2,1)], 0.5) (#24711)
  • 659be68 MAINT: Include header defining backtrace
  • 837cd38 Merge pull request #25748 from rgommers/unvendor-mesonpython
  • f984240 CI: upgrade cibuildwheel from 2.16.4 to 2.16.5 [wheel build]
  • 3548f9d BLD: unvendor meson-python [wheel build]
  • Additional commits viewable in compare view


Updates packaging from 23.2 to 24.0

Release notes

Sourced from packaging's releases.

24.0

What's Changed

New Contributors

dependabot[bot] commented 1 month ago

Looks like these dependencies are updatable in another way, so this is no longer needed.