Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pydrive2 for openSUSE:Factory 
checked in at 2023-12-28 23:00:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydrive2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pydrive2.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pydrive2"

Thu Dec 28 23:00:53 2023 rev:5 rq:1135197 version:1.18.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydrive2/python-pydrive2.changes  
2023-12-15 21:48:27.396737445 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pydrive2.new.28375/python-pydrive2.changes   
    2023-12-28 23:02:30.308726841 +0100
@@ -1,0 +2,8 @@
+Tue Dec 26 20:28:13 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 1.18.1:
+  * fix(fs): remove DVC-specific broken cache optimization
+  * **Full Changelog**:
+    https://github.com/iterative/PyDrive2/compare/1.16.2...1.18.1
+
+-------------------------------------------------------------------

Old:
----
  PyDrive2-1.17.0.tar.gz

New:
----
  PyDrive2-1.18.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pydrive2.spec ++++++
--- /var/tmp/diff_new_pack.cijaIG/_old  2023-12-28 23:02:30.856746870 +0100
+++ /var/tmp/diff_new_pack.cijaIG/_new  2023-12-28 23:02:30.860747016 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python-pydrive2
-Version:        1.17.0
+Version:        1.18.1
 Release:        0
 Summary:        A wrapper library for google-api-python-client
 License:        Apache-2.0

++++++ PyDrive2-1.17.0.tar.gz -> PyDrive2-1.18.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/.github/release-drafter.yml 
new/PyDrive2-1.18.1/.github/release-drafter.yml
--- old/PyDrive2-1.17.0/.github/release-drafter.yml     2023-08-15 
21:19:35.000000000 +0200
+++ new/PyDrive2-1.18.1/.github/release-drafter.yml     1970-01-01 
01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-# Config for https://github.com/apps/release-drafter
-branches:
-  - main
-template: |
-  $CHANGES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/.github/workflows/docs.yml 
new/PyDrive2-1.18.1/.github/workflows/docs.yml
--- old/PyDrive2-1.17.0/.github/workflows/docs.yml      2023-08-15 
21:19:35.000000000 +0200
+++ new/PyDrive2-1.18.1/.github/workflows/docs.yml      2023-12-19 
00:42:14.000000000 +0100
@@ -9,9 +9,9 @@
     runs-on: ubuntu-latest
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
-    - uses: actions/setup-python@v4
+    - uses: actions/setup-python@v5
       with:
         python-version: '3.8'
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/.github/workflows/pre-commit.yml 
new/PyDrive2-1.18.1/.github/workflows/pre-commit.yml
--- old/PyDrive2-1.17.0/.github/workflows/pre-commit.yml        2023-08-15 
21:19:35.000000000 +0200
+++ new/PyDrive2-1.18.1/.github/workflows/pre-commit.yml        2023-12-19 
00:42:14.000000000 +0100
@@ -9,6 +9,6 @@
   pre-commit:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
-    - uses: actions/setup-python@v4
+    - uses: actions/checkout@v4
+    - uses: actions/setup-python@v5
     - uses: pre-commit/[email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/.github/workflows/publish.yml 
new/PyDrive2-1.18.1/.github/workflows/publish.yml
--- old/PyDrive2-1.17.0/.github/workflows/publish.yml   2023-08-15 
21:19:35.000000000 +0200
+++ new/PyDrive2-1.18.1/.github/workflows/publish.yml   2023-12-19 
00:42:14.000000000 +0100
@@ -10,12 +10,16 @@
 
 jobs:
   publish:
+    environment: pypi
+    permissions:
+      contents: read
+      id-token: write
     runs-on: ubuntu-latest
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
 
-    - uses: actions/setup-python@v4
+    - uses: actions/setup-python@v5
       with:
         python-version: '3.8'
 
@@ -28,7 +32,5 @@
         --outdir dist/ .
 
     - name: Publish
-      if: startsWith(github.ref, 'refs/tags')
+      if: github.event.action == 'published'
       uses: pypa/gh-action-pypi-publish@release/v1
-      with:
-        password: ${{ secrets.PYPI_TOKEN }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/PyDrive2-1.17.0/.github/workflows/release-drafter.yml 
new/PyDrive2-1.18.1/.github/workflows/release-drafter.yml
--- old/PyDrive2-1.17.0/.github/workflows/release-drafter.yml   2023-08-15 
21:19:35.000000000 +0200
+++ new/PyDrive2-1.18.1/.github/workflows/release-drafter.yml   1970-01-01 
01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-name: Release Drafter
-
-on:
-  push:
-    # branches to consider in the event; optional, defaults to all
-    branches:
-      - main
-
-jobs:
-  update_release_draft:
-    runs-on: ubuntu-latest
-    steps:
-      # Drafts your next Release notes as Pull Requests are merged into "main"
-      - uses: release-drafter/release-drafter@v5
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/.github/workflows/test.yml 
new/PyDrive2-1.18.1/.github/workflows/test.yml
--- old/PyDrive2-1.17.0/.github/workflows/test.yml      2023-08-15 
21:19:35.000000000 +0200
+++ new/PyDrive2-1.18.1/.github/workflows/test.yml      2023-12-19 
00:42:14.000000000 +0100
@@ -27,12 +27,12 @@
         pyv: ["3.8", "3.9", "3.10", "3.11"]
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
       with:
         # NOTE: needed for pull_request_target to use PR code
         ref: ${{ github.event.pull_request.head.sha || github.ref }}
 
-    - uses: actions/setup-python@v4
+    - uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.pyv }}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/.pre-commit-config.yaml 
new/PyDrive2-1.18.1/.pre-commit-config.yaml
--- old/PyDrive2-1.17.0/.pre-commit-config.yaml 2023-08-15 21:19:35.000000000 
+0200
+++ new/PyDrive2-1.18.1/.pre-commit-config.yaml 2023-12-19 00:42:14.000000000 
+0100
@@ -3,7 +3,7 @@
   - id: black
     language_version: python3
   repo: https://github.com/psf/black
-  rev: 23.3.0
+  rev: 23.12.0
 - hooks:
   - id: flake8
     language_version: python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/PKG-INFO new/PyDrive2-1.18.1/PKG-INFO
--- old/PyDrive2-1.17.0/PKG-INFO        2023-08-15 21:19:46.346027100 +0200
+++ new/PyDrive2-1.18.1/PKG-INFO        2023-12-19 00:42:21.160179400 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyDrive2
-Version: 1.17.0
+Version: 1.18.1
 Summary: Google Drive API made easy. Maintained fork of PyDrive.
 Home-page: https://github.com/iterative/PyDrive2
 Author: JunYoung Gwak
@@ -18,9 +18,26 @@
 Classifier: Programming Language :: Python :: 3.11
 Requires-Python: >=3.8
 Description-Content-Type: text/x-rst
+License-File: LICENSE
+Requires-Dist: google-api-python-client>=1.12.5
+Requires-Dist: oauth2client>=4.0.0
+Requires-Dist: PyYAML>=3.0
+Requires-Dist: pyOpenSSL>=19.1.0
 Provides-Extra: fsspec
+Requires-Dist: fsspec>=2021.07.0; extra == "fsspec"
+Requires-Dist: tqdm>=4.0.0; extra == "fsspec"
+Requires-Dist: funcy>=1.14; extra == "fsspec"
+Requires-Dist: appdirs>=1.4.3; extra == "fsspec"
 Provides-Extra: tests
-License-File: LICENSE
+Requires-Dist: pytest>=4.6.0; extra == "tests"
+Requires-Dist: timeout-decorator; extra == "tests"
+Requires-Dist: funcy>=1.14; extra == "tests"
+Requires-Dist: flake8; extra == "tests"
+Requires-Dist: flake8-docstrings; extra == "tests"
+Requires-Dist: pytest-mock; extra == "tests"
+Requires-Dist: pyinstaller; extra == "tests"
+Requires-Dist: importlib_resources<6; python_version < "3.10" and extra == 
"tests"
+Requires-Dist: black==23.12.0; extra == "tests"
 
 |CI| |Conda| |PyPI|
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/PyDrive2.egg-info/PKG-INFO 
new/PyDrive2-1.18.1/PyDrive2.egg-info/PKG-INFO
--- old/PyDrive2-1.17.0/PyDrive2.egg-info/PKG-INFO      2023-08-15 
21:19:46.000000000 +0200
+++ new/PyDrive2-1.18.1/PyDrive2.egg-info/PKG-INFO      2023-12-19 
00:42:21.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyDrive2
-Version: 1.17.0
+Version: 1.18.1
 Summary: Google Drive API made easy. Maintained fork of PyDrive.
 Home-page: https://github.com/iterative/PyDrive2
 Author: JunYoung Gwak
@@ -18,9 +18,26 @@
 Classifier: Programming Language :: Python :: 3.11
 Requires-Python: >=3.8
 Description-Content-Type: text/x-rst
+License-File: LICENSE
+Requires-Dist: google-api-python-client>=1.12.5
+Requires-Dist: oauth2client>=4.0.0
+Requires-Dist: PyYAML>=3.0
+Requires-Dist: pyOpenSSL>=19.1.0
 Provides-Extra: fsspec
+Requires-Dist: fsspec>=2021.07.0; extra == "fsspec"
+Requires-Dist: tqdm>=4.0.0; extra == "fsspec"
+Requires-Dist: funcy>=1.14; extra == "fsspec"
+Requires-Dist: appdirs>=1.4.3; extra == "fsspec"
 Provides-Extra: tests
-License-File: LICENSE
+Requires-Dist: pytest>=4.6.0; extra == "tests"
+Requires-Dist: timeout-decorator; extra == "tests"
+Requires-Dist: funcy>=1.14; extra == "tests"
+Requires-Dist: flake8; extra == "tests"
+Requires-Dist: flake8-docstrings; extra == "tests"
+Requires-Dist: pytest-mock; extra == "tests"
+Requires-Dist: pyinstaller; extra == "tests"
+Requires-Dist: importlib_resources<6; python_version < "3.10" and extra == 
"tests"
+Requires-Dist: black==23.12.0; extra == "tests"
 
 |CI| |Conda| |PyPI|
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/PyDrive2.egg-info/SOURCES.txt 
new/PyDrive2-1.18.1/PyDrive2.egg-info/SOURCES.txt
--- old/PyDrive2-1.17.0/PyDrive2.egg-info/SOURCES.txt   2023-08-15 
21:19:46.000000000 +0200
+++ new/PyDrive2-1.18.1/PyDrive2.egg-info/SOURCES.txt   2023-12-19 
00:42:21.000000000 +0100
@@ -10,11 +10,9 @@
 setup.py
 tox.ini
 .github/dependabot.yml
-.github/release-drafter.yml
 .github/workflows/docs.yml
 .github/workflows/pre-commit.yml
 .github/workflows/publish.yml
-.github/workflows/release-drafter.yml
 .github/workflows/test.yml
 PyDrive2.egg-info/PKG-INFO
 PyDrive2.egg-info/SOURCES.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/PyDrive2.egg-info/requires.txt 
new/PyDrive2-1.18.1/PyDrive2.egg-info/requires.txt
--- old/PyDrive2-1.17.0/PyDrive2.egg-info/requires.txt  2023-08-15 
21:19:46.000000000 +0200
+++ new/PyDrive2-1.18.1/PyDrive2.egg-info/requires.txt  2023-12-19 
00:42:21.000000000 +0100
@@ -17,7 +17,7 @@
 flake8-docstrings
 pytest-mock
 pyinstaller
-black==23.3.0
+black==23.12.0
 
 [tests:python_version < "3.10"]
 importlib_resources<6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/docs/oauth.rst 
new/PyDrive2-1.18.1/docs/oauth.rst
--- old/PyDrive2-1.17.0/docs/oauth.rst  2023-08-15 21:19:35.000000000 +0200
+++ new/PyDrive2-1.18.1/docs/oauth.rst  2023-12-19 00:42:14.000000000 +0100
@@ -176,7 +176,7 @@
 - Running workloads which are not tied to the lifecycle of a human user.
 
 If we use OAuth client ID we need to do one manual login into the account with
-`LocalWebserverAuth()`_. if we use a service account the login is automatic.
+`LocalWebserverAuth()`_. If we use a service account the login is automatic.
 
 
 .. code-block:: python
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/pydrive2/fs/spec.py 
new/PyDrive2-1.18.1/pydrive2/fs/spec.py
--- old/PyDrive2-1.17.0/pydrive2/fs/spec.py     2023-08-15 21:19:35.000000000 
+0200
+++ new/PyDrive2-1.18.1/pydrive2/fs/spec.py     2023-12-19 00:42:14.000000000 
+0100
@@ -256,13 +256,6 @@
         }
 
         self._cache_path_id(self.base, cache["root_id"], cache=cache)
-
-        for item in self._gdrive_list(
-            "'{}' in parents and trashed=false".format(cache["root_id"])
-        ):
-            item_path = posixpath.join(self.base, item["title"])
-            self._cache_path_id(item_path, item["id"], cache=cache)
-
         return cache
 
     def _cache_path_id(self, path, *item_ids, cache=None):
@@ -392,9 +385,7 @@
             return cached[0]
 
         item = self._gdrive_create_dir(parent_id, title)
-
-        if parent_id == self._ids_cache["root_id"]:
-            self._cache_path_id(remote_path, item["id"])
+        self._cache_path_id(remote_path, item["id"])
 
         return item["id"]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/pydrive2/settings.py 
new/PyDrive2-1.18.1/pydrive2/settings.py
--- old/PyDrive2-1.17.0/pydrive2/settings.py    2023-08-15 21:19:35.000000000 
+0200
+++ new/PyDrive2-1.18.1/pydrive2/settings.py    2023-12-19 00:42:14.000000000 
+0100
@@ -2,9 +2,9 @@
 from yaml import YAMLError
 
 try:
-    from yaml import CLoader as Loader
+    from yaml import CSafeLoader as SafeLoader
 except ImportError:
-    from yaml import Loader
+    from yaml import SafeLoader
 
 SETTINGS_FILE = "settings.yaml"
 SETTINGS_STRUCT = {
@@ -114,7 +114,7 @@
     """
     try:
         with open(filename) as stream:
-            data = load(stream, Loader=Loader)
+            data = load(stream, Loader=SafeLoader)
     except (YAMLError, OSError) as e:
         raise SettingsError(e)
     return data
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyDrive2-1.17.0/setup.py new/PyDrive2-1.18.1/setup.py
--- old/PyDrive2-1.17.0/setup.py        2023-08-15 21:19:35.000000000 +0200
+++ new/PyDrive2-1.18.1/setup.py        2023-12-19 00:42:14.000000000 +0100
@@ -12,7 +12,7 @@
     "importlib_resources < 6; python_version < '3.10'",
 ]
 
-tests_requirements.append("black==23.3.0")
+tests_requirements.append("black==23.12.0")
 
 setup(
     name="PyDrive2",

Reply via email to