Hello community,
here is the log from the commit of package python-pydocumentdb for
openSUSE:Factory checked in at 2020-03-04 09:45:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydocumentdb (Old)
and /work/SRC/openSUSE:Factory/.python-pydocumentdb.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydocumentdb"
Wed Mar 4 09:45:44 2020 rev:4 rq:781217 version:2.3.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydocumentdb/python-pydocumentdb.changes
2019-05-14 13:39:34.076156546 +0200
+++
/work/SRC/openSUSE:Factory/.python-pydocumentdb.new.26092/python-pydocumentdb.changes
2020-03-04 09:46:16.110138636 +0100
@@ -1,0 +2,9 @@
+Tue Mar 3 12:41:42 UTC 2020 - John Paul Adrian Glaubitz
<[email protected]>
+
+- New upstream release
+ + Version 2.3.5
+ + Updated README regarding package deprecation
+- Add patch to disable parsing of changelog.md in setup.py
+ + p_disable-changelog-parsing.patch
+
+-------------------------------------------------------------------
Old:
----
pydocumentdb-2.3.3.tar.gz
New:
----
p_disable-changelog-parsing.patch
pydocumentdb-2.3.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pydocumentdb.spec ++++++
--- /var/tmp/diff_new_pack.hx5nRq/_old 2020-03-04 09:46:17.558139504 +0100
+++ /var/tmp/diff_new_pack.hx5nRq/_new 2020-03-04 09:46:17.558139504 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pydocumentdb
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pydocumentdb
-Version: 2.3.3
+Version: 2.3.5
Release: 0
Summary: Azure DocumentDB Python SDK
License: MIT
Group: Development/Languages/Python
URL: https://github.com/Azure/azure-documentdb-python
Source:
https://files.pythonhosted.org/packages/source/p/pydocumentdb/pydocumentdb-%{version}.tar.gz
+Patch: p_disable-changelog-parsing.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -45,6 +46,7 @@
%prep
%setup -q -n pydocumentdb-%{version}
+%patch0 -p1
%build
%python_build
++++++ p_disable-changelog-parsing.patch ++++++
diff -Nru pydocumentdb-2.3.5.orig/setup.py pydocumentdb-2.3.5/setup.py
--- pydocumentdb-2.3.5.orig/setup.py 2019-10-01 02:29:56.000000000 +0200
+++ pydocumentdb-2.3.5/setup.py 2020-03-03 13:38:33.698263211 +0100
@@ -7,13 +7,10 @@
with open("README.md", encoding="utf-8") as f:
README = f.read()
-with open("changelog.md", encoding="utf-8") as f:
- CHANGELOG = f.read()
-
setup(name='pydocumentdb',
version='2.3.5',
description='Azure DocumentDB Python SDK',
- long_description=README + "\n\n" + CHANGELOG,
+ long_description=README,
long_description_content_type="text/markdown",
author="Microsoft",
author_email="[email protected]",
++++++ pydocumentdb-2.3.3.tar.gz -> pydocumentdb-2.3.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydocumentdb-2.3.3/PKG-INFO
new/pydocumentdb-2.3.5/PKG-INFO
--- old/pydocumentdb-2.3.3/PKG-INFO 2018-09-09 07:58:33.000000000 +0200
+++ new/pydocumentdb-2.3.5/PKG-INFO 2019-10-01 02:31:23.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
Name: pydocumentdb
-Version: 2.3.3
+Version: 2.3.5
Summary: Azure DocumentDB Python SDK
Home-page: https://github.com/Azure/azure-documentdb-python
Author: Microsoft
@@ -8,7 +8,124 @@
Maintainer: Microsoft
Maintainer-email: [email protected]
License: MIT
-Description: UNKNOWN
+Description: 🚨🚨🚨 The pydocumentdb package for versions 1.x and 2.x of the
Azure Cosmos DB Python SDK for SQL API will be retired August 20, 2020.
+ See the [release and retirement
documentation](https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sdk-python#release--retirement-dates)
for more information.
+
+ Please use the latest version of the Python SDK with new package name,
[azure-cosmos](https://pypi.org/project/azure-cosmos/).🚨🚨🚨
+
+ ## Changes in 2.3.5 : ##
+ - Updated README regarding package deprecation
+
+ ## Changes in 2.3.3 : ##
+
+ - Added support for proxy
+ - Added support for reading change feed
+ - Added support for collection quota headers
+ - Bugfix for large session tokens issue
+ - Bugfix for ReadMedia API
+ - Bugfix in partition key range cache
+
+ ## Changes in 2.3.2 : ##
+
+ - Added support for default retries on connection issues.
+
+ ## Changes in 2.3.1 : ##
+
+ - Updated documentation to reference Azure Cosmos DB instead of Azure
DocumentDB.
+
+ ## Changes in 2.3.0 : ##
+
+ - This SDK version requires the latest version of Azure Cosmos DB
Emulator available for download from https://aka.ms/cosmosdb-emulator.
+
+ ## Changes in 2.2.1 : ##
+
+ - Bugfix for aggregate dict
+ - Bugfix for trimming slashes in the resource link
+ - Added tests for unicode encoding
+
+ ## Changes in 2.2.0 : ##
+
+ - Added support for Request Unit per Minute (RU/m) feature.
+ - Added support for a new consistency level called ConsistentPrefix.
+
+ ## Changes in 2.1.0 : ##
+
+ - Added support for aggregation queries (COUNT, MIN, MAX, SUM, and
AVG).
+ - Added an option for disabling SSL verification when running against
DocumentDB Emulator.
+ - Removed the restriction of dependent requests module to be exactly
2.10.0.
+ - Lowered minimum throughput on partitioned collections from 10,100
RU/s to 2500 RU/s.
+ - Added support for enabling script logging during stored procedure
execution.
+ - REST API version bumped to '2017-01-19' with this release.
+
+ ## Changes in 2.0.1 : ##
+
+ - Made editorial changes to documentation comments.
+
+ ## Changes in 2.0.0 : ##
+
+ - Added support for Python 3.5.
+ - Added support for connection pooling using the requests module.
+ - Added support for session consistency.
+ - Added support for TOP/ORDERBY queries for partitioned collections.
+
+ ## Changes in 1.9.0 : ##
+
+ - Added retry policy support for throttled requests. (Throttled
requests receive a request rate too large exception, error code 429.)
+ By default, DocumentDB retries nine times for each request when
error code 429 is encountered, honoring the retryAfter time in the response
header.
+ A fixed retry interval time can now be set as part of the
RetryOptions property on the ConnectionPolicy object if you want to ignore the
retryAfter time returned by server between the retries.
+ DocumentDB now waits for a maximum of 30 seconds for each request
that is being throttled (irrespective of retry count) and returns the response
with error code 429.
+ This time can also be overriden in the RetryOptions property on
ConnectionPolicy object.
+
+ - DocumentDB now returns x-ms-throttle-retry-count and
x-ms-throttle-retry-wait-time-ms as the response headers in every request to
denote the throttle retry count
+ and the cummulative time the request waited between the retries.
+
+ - Removed the RetryPolicy class and the corresponding property
(retry_policy) exposed on the document_client class and instead introduced a
RetryOptions class
+ exposing the RetryOptions property on ConnectionPolicy class that
can be used to override some of the default retry options.
+
+ ## Changes in 1.8.0 : ##
+
+ - Added the support for geo-replicated database accounts.
+ - Test fixes to move the global host and masterKey into the individual
test classes.
+
+ ## Changes in 1.7.0 : ##
+
+ - Added the support for Time To Live(TTL) feature for documents.
+
+ ## Changes in 1.6.1 : ##
+
+ - Bug fixes related to server side partitioning to allow special
characters in partitionkey path.
+
+ ## Changes in 1.6.0 : ##
+
+ - Added the support for server side partitioned collections feature.
+
+ ## Changes in 1.5.0 : ##
+
+ - Added Client-side sharding framework to the SDK. Implemented
HashPartionResolver and RangePartitionResolver classes.
+
+ ## Changes in 1.4.2 : ##
+
+ - Implement Upsert. New UpsertXXX methods added to support Upsert
feature.
+ - Implement ID Based Routing. No public API changes, all changes
internal.
+
+ ## Changes in 1.3.0 : ##
+
+ - Release skipped to bring version number in alignment with other SDKs
+
+ ## Changes in 1.2.0 : ##
+
+ - Supports GeoSpatial index.
+ - Validates id property for all resources. Ids for resources cannot
contain ?, /, #, \\, characters or end with a space.
+ - Adds new header "index transformation progress" to ResourceResponse.
+
+ ## Changes in 1.1.0 : ##
+
+ - Implements V2 indexing policy
+
+ ## Changes in 1.0.1 : ##
+
+ - Supports proxy connection
+
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
@@ -21,3 +138,4 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydocumentdb-2.3.3/README.md
new/pydocumentdb-2.3.5/README.md
--- old/pydocumentdb-2.3.3/README.md 2018-09-09 07:45:01.000000000 +0200
+++ new/pydocumentdb-2.3.5/README.md 2019-10-01 02:02:13.000000000 +0200
@@ -1,56 +1,4 @@
-# Microsoft Azure Cosmos DB Python SDK
+🚨🚨🚨 The pydocumentdb package for versions 1.x and 2.x of the Azure Cosmos DB
Python SDK for SQL API will be retired August 20, 2020.
+See the [release and retirement
documentation](https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sdk-python#release--retirement-dates)
for more information.
-Welcome to the repo containing all things Python for the Azure Cosmos DB API
which is published with name
[pydocumentdb](https://pypi.python.org/pypi/pydocumentdb/). For documentation
please see the Microsoft Azure
[link](https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sdk-python).
-
-
-## Pre-requirements
-
-Python 2.7, Python 3.3, Python 3.4, or Python 3.5
-https://www.python.org/downloads/
-
-If you use Microsoft Visual Studio as IDE (we use 2015), please install the
-following extension for Python.
-http://microsoft.github.io/PTVS/
-
-Install Cosmos DB emulator
-Follow instruction at
https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator
-
-## Installation:
-
- $ python setup.py install
-
- or
-
- $ pip install pydocumentdb
-
-
-## Running Testing
-Clone the repo
-```bash
-git clone https://github.com/Azure/azure-documentdb-python.git
-cd azure-documentdb-python
-```
-
-Most of the test files under test sub-folder require you to enter your Azure
DocumentDB master key and host endpoint:
-
- masterKey = '[YOUR_KEY_HERE]'
- host = '[YOUR_ENDPOINT_HERE]'
-
-To run the tests:
-
- $ python -m unittest discover -s .\test -p "*.py"
-
- If you use Microsoft Visual Studio, open the project file python.pyproj,
- and run all the tests in Test Explorer.
-
-**Note:**
-Most of the test cases create collections in your DocumentDB account.
Collections are billing entities. By running these test cases, you may incur
monetary costs on your account.
-
-
-## Documentation generation
-
- Install Sphinx: http://sphinx-doc.org/install.html
-
- $ cd doc
- $ sphinx-apidoc -f -e -o api ..\pydocumentdb
- $ make.bat html
+Please use the latest version of the Python SDK with new package name,
[azure-cosmos](https://pypi.org/project/azure-cosmos/).🚨🚨🚨
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydocumentdb-2.3.3/doc/conf.py
new/pydocumentdb-2.3.5/doc/conf.py
--- old/pydocumentdb-2.3.3/doc/conf.py 2018-09-09 07:56:17.000000000 +0200
+++ new/pydocumentdb-2.3.5/doc/conf.py 2019-10-01 02:30:31.000000000 +0200
@@ -52,9 +52,9 @@
# built documents.
#
# The short X.Y version.
-version = '2.3.3'
+version = '2.3.5'
# The full version, including alpha/beta/rc tags.
-release = '2.3.3'
+release = '2.3.5'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydocumentdb-2.3.3/pydocumentdb/http_constants.py
new/pydocumentdb-2.3.5/pydocumentdb/http_constants.py
--- old/pydocumentdb-2.3.3/pydocumentdb/http_constants.py 2018-09-09
07:55:45.000000000 +0200
+++ new/pydocumentdb-2.3.5/pydocumentdb/http_constants.py 2019-10-01
02:30:17.000000000 +0200
@@ -254,7 +254,7 @@
"""
CurrentVersion = '2017-11-15'
SDKName = 'documentdb-python-sdk'
- SDKVersion = '2.3.3'
+ SDKVersion = '2.3.5'
class Delimiters:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydocumentdb-2.3.3/pydocumentdb.egg-info/PKG-INFO
new/pydocumentdb-2.3.5/pydocumentdb.egg-info/PKG-INFO
--- old/pydocumentdb-2.3.3/pydocumentdb.egg-info/PKG-INFO 2018-09-09
07:58:31.000000000 +0200
+++ new/pydocumentdb-2.3.5/pydocumentdb.egg-info/PKG-INFO 2019-10-01
02:31:21.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
Name: pydocumentdb
-Version: 2.3.3
+Version: 2.3.5
Summary: Azure DocumentDB Python SDK
Home-page: https://github.com/Azure/azure-documentdb-python
Author: Microsoft
@@ -8,7 +8,124 @@
Maintainer: Microsoft
Maintainer-email: [email protected]
License: MIT
-Description: UNKNOWN
+Description: 🚨🚨🚨 The pydocumentdb package for versions 1.x and 2.x of the
Azure Cosmos DB Python SDK for SQL API will be retired August 20, 2020.
+ See the [release and retirement
documentation](https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sdk-python#release--retirement-dates)
for more information.
+
+ Please use the latest version of the Python SDK with new package name,
[azure-cosmos](https://pypi.org/project/azure-cosmos/).🚨🚨🚨
+
+ ## Changes in 2.3.5 : ##
+ - Updated README regarding package deprecation
+
+ ## Changes in 2.3.3 : ##
+
+ - Added support for proxy
+ - Added support for reading change feed
+ - Added support for collection quota headers
+ - Bugfix for large session tokens issue
+ - Bugfix for ReadMedia API
+ - Bugfix in partition key range cache
+
+ ## Changes in 2.3.2 : ##
+
+ - Added support for default retries on connection issues.
+
+ ## Changes in 2.3.1 : ##
+
+ - Updated documentation to reference Azure Cosmos DB instead of Azure
DocumentDB.
+
+ ## Changes in 2.3.0 : ##
+
+ - This SDK version requires the latest version of Azure Cosmos DB
Emulator available for download from https://aka.ms/cosmosdb-emulator.
+
+ ## Changes in 2.2.1 : ##
+
+ - Bugfix for aggregate dict
+ - Bugfix for trimming slashes in the resource link
+ - Added tests for unicode encoding
+
+ ## Changes in 2.2.0 : ##
+
+ - Added support for Request Unit per Minute (RU/m) feature.
+ - Added support for a new consistency level called ConsistentPrefix.
+
+ ## Changes in 2.1.0 : ##
+
+ - Added support for aggregation queries (COUNT, MIN, MAX, SUM, and
AVG).
+ - Added an option for disabling SSL verification when running against
DocumentDB Emulator.
+ - Removed the restriction of dependent requests module to be exactly
2.10.0.
+ - Lowered minimum throughput on partitioned collections from 10,100
RU/s to 2500 RU/s.
+ - Added support for enabling script logging during stored procedure
execution.
+ - REST API version bumped to '2017-01-19' with this release.
+
+ ## Changes in 2.0.1 : ##
+
+ - Made editorial changes to documentation comments.
+
+ ## Changes in 2.0.0 : ##
+
+ - Added support for Python 3.5.
+ - Added support for connection pooling using the requests module.
+ - Added support for session consistency.
+ - Added support for TOP/ORDERBY queries for partitioned collections.
+
+ ## Changes in 1.9.0 : ##
+
+ - Added retry policy support for throttled requests. (Throttled
requests receive a request rate too large exception, error code 429.)
+ By default, DocumentDB retries nine times for each request when
error code 429 is encountered, honoring the retryAfter time in the response
header.
+ A fixed retry interval time can now be set as part of the
RetryOptions property on the ConnectionPolicy object if you want to ignore the
retryAfter time returned by server between the retries.
+ DocumentDB now waits for a maximum of 30 seconds for each request
that is being throttled (irrespective of retry count) and returns the response
with error code 429.
+ This time can also be overriden in the RetryOptions property on
ConnectionPolicy object.
+
+ - DocumentDB now returns x-ms-throttle-retry-count and
x-ms-throttle-retry-wait-time-ms as the response headers in every request to
denote the throttle retry count
+ and the cummulative time the request waited between the retries.
+
+ - Removed the RetryPolicy class and the corresponding property
(retry_policy) exposed on the document_client class and instead introduced a
RetryOptions class
+ exposing the RetryOptions property on ConnectionPolicy class that
can be used to override some of the default retry options.
+
+ ## Changes in 1.8.0 : ##
+
+ - Added the support for geo-replicated database accounts.
+ - Test fixes to move the global host and masterKey into the individual
test classes.
+
+ ## Changes in 1.7.0 : ##
+
+ - Added the support for Time To Live(TTL) feature for documents.
+
+ ## Changes in 1.6.1 : ##
+
+ - Bug fixes related to server side partitioning to allow special
characters in partitionkey path.
+
+ ## Changes in 1.6.0 : ##
+
+ - Added the support for server side partitioned collections feature.
+
+ ## Changes in 1.5.0 : ##
+
+ - Added Client-side sharding framework to the SDK. Implemented
HashPartionResolver and RangePartitionResolver classes.
+
+ ## Changes in 1.4.2 : ##
+
+ - Implement Upsert. New UpsertXXX methods added to support Upsert
feature.
+ - Implement ID Based Routing. No public API changes, all changes
internal.
+
+ ## Changes in 1.3.0 : ##
+
+ - Release skipped to bring version number in alignment with other SDKs
+
+ ## Changes in 1.2.0 : ##
+
+ - Supports GeoSpatial index.
+ - Validates id property for all resources. Ids for resources cannot
contain ?, /, #, \\, characters or end with a space.
+ - Adds new header "index transformation progress" to ResourceResponse.
+
+ ## Changes in 1.1.0 : ##
+
+ - Implements V2 indexing policy
+
+ ## Changes in 1.0.1 : ##
+
+ - Supports proxy connection
+
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
@@ -21,3 +138,4 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydocumentdb-2.3.3/setup.py
new/pydocumentdb-2.3.5/setup.py
--- old/pydocumentdb-2.3.3/setup.py 2018-09-09 07:56:36.000000000 +0200
+++ new/pydocumentdb-2.3.5/setup.py 2019-10-01 02:29:56.000000000 +0200
@@ -2,10 +2,19 @@
from distutils.core import setup
import setuptools
+from io import open
+
+with open("README.md", encoding="utf-8") as f:
+ README = f.read()
+
+with open("changelog.md", encoding="utf-8") as f:
+ CHANGELOG = f.read()
setup(name='pydocumentdb',
- version='2.3.3',
+ version='2.3.5',
description='Azure DocumentDB Python SDK',
+ long_description=README + "\n\n" + CHANGELOG,
+ long_description_content_type="text/markdown",
author="Microsoft",
author_email="[email protected]",
maintainer="Microsoft",