From 27de8ff941b7ac326dcc2a44d9e3f367d7b7f67e3c457d8f22f1397d042227f2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 30 Jan 2025 17:37:56 +0000 Subject: [PATCH] - Update to 4.0.12 * Never add a vendored smmap directory to sys.path * Revise and update the readme * Set Dependabot submodule update cadence to weekly * Add missing asserts in test_base.py * Use contextlib.suppress instead of except: pass * Add support for Python 3.13 * Potential Race Condition Fix - OS Rename & Chmod - PermissionError * Bump gitdb/ext/smmap from 256c5a2 to 04dd210 * Bump actions/setup-python from 4 to 5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gitdb?expand=0&rev=20 --- .gitattributes | 23 +++++++ .gitignore | 1 + gitdb-4.0.11.tar.gz | 3 + gitdb-4.0.12.tar.gz | 3 + python-gitdb.changes | 151 +++++++++++++++++++++++++++++++++++++++++++ python-gitdb.spec | 58 +++++++++++++++++ 6 files changed, 239 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gitdb-4.0.11.tar.gz create mode 100644 gitdb-4.0.12.tar.gz create mode 100644 python-gitdb.changes create mode 100644 python-gitdb.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gitdb-4.0.11.tar.gz b/gitdb-4.0.11.tar.gz new file mode 100644 index 0000000..64f5fb1 --- /dev/null +++ b/gitdb-4.0.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf5421126136d6d0af55bc1e7c1af1c397a34f5b7bd79e776cd3e89785c2b04b +size 394469 diff --git a/gitdb-4.0.12.tar.gz b/gitdb-4.0.12.tar.gz new file mode 100644 index 0000000..e6729de --- /dev/null +++ b/gitdb-4.0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ef71f855d191a3326fcfbc0d5da835f26b13fbcba60c32c21091c349ffdb571 +size 394684 diff --git a/python-gitdb.changes b/python-gitdb.changes new file mode 100644 index 0000000..4a08515 --- /dev/null +++ b/python-gitdb.changes @@ -0,0 +1,151 @@ +------------------------------------------------------------------- +Wed Jan 22 11:05:28 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 4.0.12 + * Never add a vendored smmap directory to sys.path + * Revise and update the readme + * Set Dependabot submodule update cadence to weekly + * Add missing asserts in test_base.py + * Use contextlib.suppress instead of except: pass + * Add support for Python 3.13 + * Potential Race Condition Fix - OS Rename & Chmod - PermissionError + * Bump gitdb/ext/smmap from 256c5a2 to 04dd210 + * Bump actions/setup-python from 4 to 5 + +------------------------------------------------------------------- +Mon Nov 27 19:00:20 UTC 2023 - Dirk Müller + +- update to 4.0.11: + * Use ZLIB_RUNTIME_VERSION if available + * Add support for Python 3.12 and drop EOL 3.7 + * Fix mkdir race condition in LooseObjectDB.store + * Don't cancel other jobs from the 3.12 job failing + * Use actions/checkout feature to fetch all commits + * Revert "Drop support for EOL Python 3.7" + * Fix top-of-file license URLs here in gitdb too + * No longer treat 3.12 as experimental on CI + * Add __all__ to exc for linting + * Have Dependabot update smmap submodule dependency + * Bump gitdb/ext/smmap from `334ef84` to `f1ace75` + +------------------------------------------------------------------- +Fri Apr 21 12:25:45 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:41:36 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Tue Dec 6 03:33:13 UTC 2022 - Yogalakshmi Arunachalam + +- Update to v4.0.10: + * improvements to the way external packages are imported. + +------------------------------------------------------------------- +Tue Oct 26 20:29:53 UTC 2021 - Dirk Müller + +- update to 4.0.9: + * update signing key + * fix Sphinx warnings + * Support Python 3.7+ + * Allow smmap 5 + +------------------------------------------------------------------- +Tue May 18 22:00:41 UTC 2021 - Dirk Müller + +- update to 4.0.7: + * Fix exception causes in loose.py + * Fix exception causes all over the codebase + * Add Ram Rachum to AUTHORS + * Update smmap upper bound in setup.py + +------------------------------------------------------------------- +Tue Jun 2 15:21:00 UTC 2020 - Dirk Mueller + +- update to 4.0.5: + * Support for PyOxidizer + +------------------------------------------------------------------- +Mon Mar 30 10:54:02 UTC 2020 - Tomáš Chvátal + +- Provide and obsolete deprecated gitdb2 module + +------------------------------------------------------------------- +Mon Mar 30 10:48:14 UTC 2020 - Tomáš Chvátal + +- No need to version the setuptools dependency + +------------------------------------------------------------------- +Mon Mar 16 12:16:41 UTC 2020 - Dirk Mueller + +- update to 4.0.2: + * Updated to release as Pure Python Wheel rather than Universal Wheel (#62) + * Switched back to the gitdb package name on PyPI and fixed the gitdb2 mirror package (#59) + * Switched back to require smmap package and fixed version requirement to >= 3.0.1, < 4 (#59) + * Updated smmap submodule + * Changed force_bytes to use UTF-8 encoding by default (#49) + * Removed Python 2 compatibility shims (#56) + +------------------------------------------------------------------- +Tue Oct 8 08:37:31 UTC 2019 - Tomáš Chvátal + +- Update to 2.0.6: + * minor bugfixes only + +------------------------------------------------------------------- +Mon Mar 4 11:39:46 UTC 2019 - Tomáš Chvátal + +- Update to 2.0.5: + * Just few formating fixes + +------------------------------------------------------------------- +Sat Jul 21 04:31:07 UTC 2018 - arun@gmx.de + +- specfile: + * be more specific in %file section + +- update to version 2.0.4: + * Update version just to get a new release signed with valid key + +------------------------------------------------------------------- +Wed Jan 17 15:27:51 UTC 2018 - toddrme2178@gmail.com + +- update to version 2.0.3 + +------------------------------------------------------------------- +Tue Aug 15 18:08:46 UTC 2017 - daniel.molkentin@suse.com + +- update to version 2.0.2 +- converted to singlespec +- moved to separate package due to source package rename + +------------------------------------------------------------------- +Tue May 5 18:03:37 UTC 2015 - benoit.monin@gmx.fr + +- update to version 0.6.4: + * no upstream changelog +- additional changes from version 0.6.1: + * Fixed possibly critical error, see + https://github.com/gitpython-developers/GitPython/issues/220 +- additional changes from version 0.6.0: + * Added support got python 3.X + * Removed all async dependencies and all *_async versions of + methods with it. +- remove python-async: now unneeded +- set a minimum version for python-smmap: required by upstream +- define python_sitearch only for SLE11 + +------------------------------------------------------------------- +Thu Nov 24 11:15:33 UTC 2011 - saschpe@suse.de + +- Set license to SDPX style (BSD-3-Clause) +- Remove outdated %clean section +- Use upstream tarball + +------------------------------------------------------------------- +Wed Jul 6 21:54:57 UTC 2011 - alexandre@exatati.com.br + +- Initial package (0.5.4) for openSUSE. diff --git a/python-gitdb.spec b/python-gitdb.spec new file mode 100644 index 0000000..425cff9 --- /dev/null +++ b/python-gitdb.spec @@ -0,0 +1,58 @@ +# +# spec file for package python-gitdb +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-gitdb +Version: 4.0.12 +Release: 0 +Summary: Git Object Database +License: BSD-3-Clause +URL: https://github.com/gitpython-developers/gitdb +Source: https://files.pythonhosted.org/packages/source/g/gitdb/gitdb-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module smmap >= 3.0.1} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-smmap >= 3.0.1 +Provides: python-gitdb2 = %{version} +Obsoletes: python-gitdb2 < %{version} +%python_subpackages + +%description +GitDB is a pure-Python git object database + +%prep +%setup -q -n gitdb-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# Package requires its own git tree in order to pass tests +#%%python_exec setup.py test + +%files %{python_files} +%license LICENSE +%doc AUTHORS +%{python_sitelib}/gitdb* + +%changelog