1
0

Compare commits

..

6 Commits

Author SHA256 Message Date
Ana Guerrero
87c9d82220 Accepting request 1233713 from devel:tools:scm
OBS-URL: https://build.opensuse.org/request/show/1233713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=65
2024-12-30 11:52:02 +00:00
Lukas Müller
befba44c46 - Update to version 0.22.7.
* Fix serializing of commits with empty commit messages. (Castedo Ellerman, #1429)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=37
2024-12-28 22:40:17 +00:00
Ana Guerrero
6ba3e53f45 Accepting request 1226005 from devel:tools:scm
OBS-URL: https://build.opensuse.org/request/show/1226005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=64
2024-11-24 10:04:56 +00:00
Lukas Müller
f4393fb5c2 - update to 0.22.6:
* ``ObjectStore.iter_prefix``: fix handling of missing
    loose object directories. (Jelmer Vernooij)
  * Reject invalid refcontainer values (not 40 characters or
    symref).
  * Add type hints to various functions. (Castedo Ellerman)
  * Drop support for Python 3.8. (Jelmer Vernooij)
  * Fix refspec handling in porcelain.pull. (Jelmer Vernooij)
  * Drop broken refspec support in porcelain.clone.
  * Provide ``ref_prefix`` functionality client-side
    if the server does not support it.
  * Consistently honor ``ref_prefix`` and ``protocol_version``
    arguments in client. (Jelmer Vernooij)
  * Strip pkt-line when negotiating protocol v2. Fixes
    compatibility with gerrit. (Rémy Pecqueur, #1423)
  * Don't pull in ``setuptools_rust`` when building pure
    package. (Eli Schwartz)
  * Return peeled refs from ``GitClient.get_refs`` if protocol-v2
    is used. (Stefan Sperling, #1410)
  * Drop outdated performance file. (Jelmer Vernooij, #1411)
  * Fix handling of symrefs with protocol v2.
  * Add ``ObjectStore.iter_prefix``.  (Jelmer Vernooij)
  * Revert back to version 3 of ``Cargo.lock``, to allow
    building with older Cargo versions.
  * Use a default ref-prefix when fetching with git protocol v2
  * Add `ObjectStore.iter_prefix`. (Jelmer Vernooij)
  * Improve wheel building in CI, so we can upload wheels for the
    next release.
  * Ship ``Cargo.lock``. (Jelmer Vernooij, #1287)
  * Ship ``tests/`` and ``testdata/`` in sdist. (Jelmer Vernooij,

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=35
2024-11-23 18:57:58 +00:00
Ana Guerrero
13cccf1987 Accepting request 1206503 from devel:tools:scm
OBS-URL: https://build.opensuse.org/request/show/1206503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=63
2024-10-09 20:13:20 +00:00
Lukas Müller
d0162c50dc - Add patch geventhttpclient-compat.patch to make it compatible with
latest geventhttpclient.
  (gh#jelmer/dulwich#1299, gh#jelmer/dulwich#1294)
- Update 0.22.1:
  * Fix pypi deployments by @jelmer in #1284
  * Handle alternate case for worktreeconfig setting by @wshanks in #1286
  * Ship rust files. Fixes #1287 by @jelmer in #1290
- update 0.22.0:
  * Start on 0.21.8 by @jelmer in #1240
  * Install twine when uploading to pypi by @jelmer in #1241
  * Remove shebang from graph.py by @mtelka in #1242
  * Disable pypi uploads in disperse; this is now down by the GitHub actions workflow by @jelmer in #1243
  * tweak doc-strings in LocalGitClient for clarity by @stspdotname in #1245
  * Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in #1249
  * Bump the github_actions group with 5 updates by @dependabot in #1250
  * Add Python 3.12 to the testing by @cclauss in #1251
  * pyproject.toml: Add trove classifier for Python 3.12 by @cclauss in #1252
  * Convert _objects.c to _objects.rs by @jelmer in #1204
  * Convert pack C helper to rust by @jelmer in #1255
  * Convert diff-tree C helper to rust by @jelmer in #1256
  * Revert "Bump the github_actions group with 5 updates" by @jelmer in #1257
  * Only expect a shallow update when requesting a depth by @abderrahim in #1259
  * Use f-strings by @jelmer in #1263
  * Wrap all urllib3 read ProtocolErrors as GitProtocolError by @nanonyme in #1261
  * Update cargo dependencies with dependabot by @jelmer in #1264
  * wheels: Don't build with nightly by @jelmer in #1273
  * Reformat with ruff by @jelmer in #1272
  * Use latest cibuildwheel by @jelmer in #1276
  * cibuildwheel: define options in pyproject.toml by @jelmer in #1275
  * Move tests to root. Fixes #1024 by @jelmer in #1277

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=33
2024-10-09 11:23:35 +00:00
4 changed files with 104 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9e9c66833cea580c3ac12927e4b9711985d76afca98da971405d414de60e968
size 448028

3
dulwich-0.22.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30f600f90368f66c45ec4f46a676acf444ec8e8aec936009b1061ba19c117f80
size 461539

View File

@ -1,3 +1,88 @@
-------------------------------------------------------------------
Thu Dec 26 00:55:26 UTC 2024 - Lukas Müller <expeehaa@outlook.com>
- Update to version 0.22.7.
* Fix serializing of commits with empty commit messages. (Castedo Ellerman, #1429)
-------------------------------------------------------------------
Sat Nov 23 17:57:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.22.6:
* ``ObjectStore.iter_prefix``: fix handling of missing
loose object directories. (Jelmer Vernooij)
* Reject invalid refcontainer values (not 40 characters or
symref).
* Add type hints to various functions. (Castedo Ellerman)
* Drop support for Python 3.8. (Jelmer Vernooij)
* Fix refspec handling in porcelain.pull. (Jelmer Vernooij)
* Drop broken refspec support in porcelain.clone.
* Provide ``ref_prefix`` functionality client-side
if the server does not support it.
* Consistently honor ``ref_prefix`` and ``protocol_version``
arguments in client. (Jelmer Vernooij)
* Strip pkt-line when negotiating protocol v2. Fixes
compatibility with gerrit. (Rémy Pecqueur, #1423)
* Don't pull in ``setuptools_rust`` when building pure
package. (Eli Schwartz)
* Return peeled refs from ``GitClient.get_refs`` if protocol-v2
is used. (Stefan Sperling, #1410)
* Drop outdated performance file. (Jelmer Vernooij, #1411)
* Fix handling of symrefs with protocol v2.
* Add ``ObjectStore.iter_prefix``. (Jelmer Vernooij)
* Revert back to version 3 of ``Cargo.lock``, to allow
building with older Cargo versions.
* Use a default ref-prefix when fetching with git protocol v2
* Add `ObjectStore.iter_prefix`. (Jelmer Vernooij)
* Improve wheel building in CI, so we can upload wheels for the
next release.
* Ship ``Cargo.lock``. (Jelmer Vernooij, #1287)
* Ship ``tests/`` and ``testdata/`` in sdist. (Jelmer Vernooij,
* Add initial integration with OSS-Fuzz for continuous fuzz
testing and first fuzzing test (David Lakin, #1302)
* Drop Python 3.7 support. (Jelmer Vernooij)
* Improve fuzzing coverage (David Lakin)
* Support Python 3.13. (Edgar Ramírez-Mondragón, #1352)
* Initial support for smart protocol v2. (Stefan Sperling)
- drop geventhttpclient-compat.patch (upstream)
-------------------------------------------------------------------
Tue Oct 8 09:51:33 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Add patch geventhttpclient-compat.patch to make it compatible with
latest geventhttpclient.
(gh#jelmer/dulwich#1299, gh#jelmer/dulwich#1294)
- Update 0.22.1:
* Fix pypi deployments by @jelmer in #1284
* Handle alternate case for worktreeconfig setting by @wshanks in #1286
* Ship rust files. Fixes #1287 by @jelmer in #1290
- update 0.22.0:
* Start on 0.21.8 by @jelmer in #1240
* Install twine when uploading to pypi by @jelmer in #1241
* Remove shebang from graph.py by @mtelka in #1242
* Disable pypi uploads in disperse; this is now down by the GitHub actions workflow by @jelmer in #1243
* tweak doc-strings in LocalGitClient for clarity by @stspdotname in #1245
* Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in #1249
* Bump the github_actions group with 5 updates by @dependabot in #1250
* Add Python 3.12 to the testing by @cclauss in #1251
* pyproject.toml: Add trove classifier for Python 3.12 by @cclauss in #1252
* Convert _objects.c to _objects.rs by @jelmer in #1204
* Convert pack C helper to rust by @jelmer in #1255
* Convert diff-tree C helper to rust by @jelmer in #1256
* Revert "Bump the github_actions group with 5 updates" by @jelmer in #1257
* Only expect a shallow update when requesting a depth by @abderrahim in #1259
* Use f-strings by @jelmer in #1263
* Wrap all urllib3 read ProtocolErrors as GitProtocolError by @nanonyme in #1261
* Update cargo dependencies with dependabot by @jelmer in #1264
* wheels: Don't build with nightly by @jelmer in #1273
* Reformat with ruff by @jelmer in #1272
* Use latest cibuildwheel by @jelmer in #1276
* cibuildwheel: define options in pyproject.toml by @jelmer in #1275
* Move tests to root. Fixes #1024 by @jelmer in #1277
* Stop installing docs/ as part of package code by @jelmer in #1278
* Bump pyo3 from 0.21.1 to 0.21.2 by @dependabot in #1280
* Set correct version for rust modules by @jelmer in #1281
* Fix installation of tests package by @jelmer in #1282
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 6 09:36:03 UTC 2023 - Dirk Müller <dmueller@suse.com> Wed Dec 6 09:36:03 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-dulwich # spec file for package python-dulwich
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,15 +25,18 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
%define oldpython python %define oldpython python
Name: python-dulwich Name: python-dulwich
Version: 0.21.7 Version: 0.22.7
Release: 0 Release: 0
Summary: Pure-Python Git Library Summary: Pure-Python Git Library
License: Apache-2.0 OR GPL-2.0-or-later License: Apache-2.0 OR GPL-2.0-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://www.dulwich.io URL: https://www.dulwich.io
Source0: https://files.pythonhosted.org/packages/source/d/dulwich/dulwich-%{version}.tar.gz Source0: https://github.com/jelmer/dulwich/archive/dulwich-%{version}.tar.gz#/dulwich-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 17.1} BuildRequires: %{python_module setuptools >= 17.1}
BuildRequires: %{python_module setuptools-rust}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with test} %if %{with test}
@ -42,6 +45,7 @@ BuildRequires: %{python_module fastimport}
BuildRequires: %{python_module geventhttpclient} BuildRequires: %{python_module geventhttpclient}
BuildRequires: %{python_module gevent} BuildRequires: %{python_module gevent}
BuildRequires: %{python_module gpg} BuildRequires: %{python_module gpg}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing_extensions if %python-base < 3.8} BuildRequires: %{python_module typing_extensions if %python-base < 3.8}
BuildRequires: %{python_module urllib3 >= 1.24.1} BuildRequires: %{python_module urllib3 >= 1.24.1}
%if 0%{?suse_version} <= 1500 %if 0%{?suse_version} <= 1500
@ -53,7 +57,7 @@ Requires: python-urllib3 >= 1.24.1
Requires: python-typing_extensions Requires: python-typing_extensions
%endif %endif
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(preun):update-alternatives Requires(preun): update-alternatives
Recommends: python-fastimport Recommends: python-fastimport
Recommends: python-gpg Recommends: python-gpg
Obsoletes: %{oldpython}-dulwich-doc < 0.20.5 Obsoletes: %{oldpython}-dulwich-doc < 0.20.5
@ -64,16 +68,16 @@ Simple Pure-Python implementation of the Git file formats and protocols. Dulwich
is the place where Mr. and Mrs. Git live in one of the Monty Python sketches. is the place where Mr. and Mrs. Git live in one of the Monty Python sketches.
%prep %prep
%autosetup -p1 -n dulwich-%{version} %autosetup -p1 -n dulwich-dulwich-%{version}
sed -i '/usr\/bin\/env/d' dulwich/contrib/diffstat.py
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
# Do not remove tests as they are reused by other packages
#%%python_expand rm -r %{buildroot}%{$python_sitearch}/dulwich/tests
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_clone -a %{buildroot}%{_bindir}/dulwich %python_clone -a %{buildroot}%{_bindir}/dulwich
%python_clone -a %{buildroot}%{_bindir}/dul-receive-pack %python_clone -a %{buildroot}%{_bindir}/dul-receive-pack
@ -81,7 +85,7 @@ export CFLAGS="%{optflags}"
%check %check
%if %{with test} %if %{with test}
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest dulwich.tests.test_suite %python_expand $python -m unittest tests.test_suite
%endif %endif
%post %post
@ -100,6 +104,7 @@ export CFLAGS="%{optflags}"
%python_alternative dulwich %python_alternative dulwich
%python_alternative dul-receive-pack %python_alternative dul-receive-pack
%python_alternative dul-upload-pack %python_alternative dul-upload-pack
%{python_sitearch}/* %{python_sitearch}/dulwich
%{python_sitearch}/dulwich-%{version}*-info
%changelog %changelog