-
Notifications
You must be signed in to change notification settings - Fork 4
PYTHON-3383 [pymongoexplain] Support Python 3.7-3.12 #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5390792
PYTHON-3383 [pymongoexplain] Support Python 3.7-3.12
blink1073 06dc819
fix test dep
blink1073 d437221
fix sytnax
blink1073 d173a72
fix mongodb usage
blink1073 f804fee
try with latest action
blink1073 f02677d
fix license
blink1073 7d7b24d
fix pytest compat
blink1073 6f9ff3c
fix mongodb usage
blink1073 d8a06a7
try with specific mongo version
blink1073 7a5b568
try with unittest
blink1073 20f03de
remove outdated tests
blink1073 165139c
remove codeowners
blink1073 47aa357
try mongodb-labs
blink1073 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Global owner for repo | ||
* @blink1073 @juliusgeo @ShaneHarvey | ||
* @mongodb/dbx-python | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pymongoexplain" | ||
dynamic = ["version"] | ||
description = "Explainable CRUD API for PyMongo" | ||
readme = "README.rst" | ||
license = { file = "LICENSE" } | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{ name = "Julius Park" }, | ||
] | ||
keywords = [ | ||
"mongo", | ||
"mongodb", | ||
"pymongo", | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Database", | ||
] | ||
dependencies = [ | ||
"pymongo>=4.4", | ||
] | ||
|
||
[project.scripts] | ||
pymongoexplain = "pymongoexplain.cli_explain:cli_explain" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/mongodb-labs/pymongoexplain" | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "pymongoexplain.version.__version__"} | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["pymongoexplain"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,2 @@ | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
|
||
with open('README.rst', 'rb') as f: | ||
LONG_DESCRIPTION = f.read().decode('utf8') | ||
|
||
# Single source the version. | ||
version_file = os.path.realpath(os.path.join( | ||
os.path.dirname(__file__), 'pymongoexplain', 'version.py')) | ||
version = {} | ||
with open(version_file) as fp: | ||
exec(fp.read(), version) | ||
|
||
setup( | ||
name="pymongoexplain", | ||
version=version['__version__'], | ||
description="Explainable CRUD API for PyMongo", | ||
long_description=LONG_DESCRIPTION, | ||
packages=find_packages(exclude=['test']), | ||
author="Julius Park", | ||
url="https://github.com/mongodb-labs/pymongoexplain", | ||
keywords=["mongo", "mongodb", "pymongo"], | ||
test_suite="test", | ||
entry_points={ | ||
'console_scripts': [ | ||
'pymongoexplain=pymongoexplain.cli_explain:cli_explain'], | ||
}, | ||
tests_require=["pymongo>=3.10"], | ||
install_requires=['pymongo>=3.10'], | ||
python_requires='>=3.5', | ||
license="Apache License, Version 2.0", | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Database"] | ||
) | ||
from setuptools import setup; setup() |
155 changes: 0 additions & 155 deletions
155
test/crud/v2/unacknowledged-bulkWrite-delete-hint-clientError.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this error:
Maybe it's the "write access" part?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, this is a different org, yeah...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm waiting for the access to be granted before merging.