Merge branch 'master' of github.com:mongodb/mongo-python-driver

This commit is contained in:
Steven Silvester 2024-12-31 12:06:42 -06:00
commit a595e39e47
No known key found for this signature in database
GPG Key ID: B1BF5EC3A8B32F91
3 changed files with 4 additions and 10 deletions

View File

@ -139,7 +139,7 @@ Unix
~~~~
To authenticate using GSSAPI you must first install the python `kerberos`_ or
`pykerberos`_ module using easy_install or pip. Make sure you run kinit before
`pykerberos`_ module using pip. Make sure you run kinit before
using the following authentication methods::
$ kinit mongodbuser@EXAMPLE.COM

View File

@ -6,7 +6,7 @@ Installing / Upgrading
<http://pypi.python.org/pypi/pymongo/>`_.
.. warning:: **Do not install the "bson" package from pypi.** PyMongo comes
with its own bson package; doing "pip install bson" or "easy_install bson"
with its own bson package; doing "pip install bson"
installs a third-party package that is incompatible with PyMongo.
Installing with pip
@ -134,7 +134,7 @@ Python to fail to build the C extensions if you have Xcode 4 installed. There
is a workaround::
# For some Python builds from python.org
$ env ARCHFLAGS='-arch i386 -arch x86_64' python -m easy_install pymongo
$ env ARCHFLAGS='-arch i386 -arch x86_64' python -m pip install pymongo
See `http://bugs.python.org/issue11623 <http://bugs.python.org/issue11623>`_
for a more detailed explanation.
@ -152,15 +152,9 @@ This may cause C extension builds to fail with an error similar to::
There are workarounds::
# Apple specified workaround for Xcode 5.1
# easy_install
$ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future easy_install pymongo
# or pip
$ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install pymongo
# Alternative workaround using CFLAGS
# easy_install
$ CFLAGS=-Qunused-arguments easy_install pymongo
# or pip
$ CFLAGS=-Qunused-arguments pip install pymongo

View File

@ -1,5 +1,5 @@
mypy==1.13.0
pyright==1.1.390
pyright==1.1.391
typing_extensions
-r ./encryption.txt
-r ./ocsp.txt