Skip to content

Commit

Permalink
PYTHON-4264 Async PyMongo Beta (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahStapp committed Jun 6, 2024
1 parent e9c86f4 commit d6bf0e1
Show file tree
Hide file tree
Showing 211 changed files with 62,315 additions and 23,123 deletions.
13 changes: 12 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ repos:
exclude: .patch
exclude_types: [json]

- repo: local
hooks:
- id: synchro
name: synchro
entry: bash ./tools/synchro.sh
language: python
require_serial: true
additional_dependencies:
- ruff==0.1.3
- unasync

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.3
Expand Down Expand Up @@ -74,7 +85,7 @@ repos:
stages: [manual]

- repo: https://github.com/ariebovenberg/slotscheck
rev: v0.17.0
rev: v0.19.0
hooks:
- id: slotscheck
files: \.py$
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ include doc/make.bat
include doc/static/periodic-executor-refs.dot
recursive-include requirements *.txt
recursive-include tools *.py
recursive-include tools *.sh
include tools/README.rst
include green_framework_test.py
recursive-include test *.pem
Expand Down
10 changes: 5 additions & 5 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ Changelog

Changes in Version 4.8.0
-------------------------

The handshake metadata for "os.name" on Windows has been simplified to "Windows" to improve import time.

The repr of ``bson.binary.Binary`` is now redacted when the subtype is SENSITIVE_SUBTYPE(8).

.. warning:: PyMongo 4.8 drops support for Python 3.7 and PyPy 3.8: Python 3.8+ or PyPy 3.9+ is now required.

PyMongo 4.8 brings a number of improvements including:
- The handshake metadata for "os.name" on Windows has been simplified to "Windows" to improve import time.
- The repr of ``bson.binary.Binary`` is now redacted when the subtype is SENSITIVE_SUBTYPE(8).
- A new asynchronous API with full asyncio support.

Changes in Version 4.7.3
-------------------------

Expand Down
Loading

0 comments on commit d6bf0e1

Please sign in to comment.