forked from pool/python-GitPython
- Update to version 3.1.30.1672298042.141cd65:
* Make injections of command-invocations harder or impossible for clone and
others. See #1518 for details. Note that this might constitute a breaking
change for some users. (bsc#1206099, CVE-2022-24439)
* Prohibit insecure options and protocols by default, which is potentially a
breaking change, but a necessary fix for #1515.
* Make the git.__version__ re-appear.
* Reduced startup time due to optimized imports.
* Fix a vulenerability that could cause great slowdowns when encountering
long remote path names when pulling/fetching.
* Newly added timeout flag is not be enabled by default, and was renamed
to kill_after_timeout
* drop support for python 3.5 to reduce maintenance burden on typing.
* Add more static typing information
* git.Commit objects now have a replace method that will return a copy of
the commit with modified attributes.
* Add python 3.9 support
* Drop python 3.4 support
- Refresh patches.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=47
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-GitPython
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-GitPython
|
||||
Version: 3.1.12.1610074031.f653af66
|
||||
Version: 3.1.30.1672298042.141cd65
|
||||
Release: 0
|
||||
Summary: Python Git Library
|
||||
License: BSD-3-Clause
|
||||
@@ -51,11 +51,10 @@ implement your own storage mechanisms, the currently available implementations
|
||||
are 'cgit' and pure python, which is the default.
|
||||
|
||||
%prep
|
||||
%setup -q -n GitPython-%{version}
|
||||
echo y | ./init-tests-after-clone.sh
|
||||
%autopatch -p1
|
||||
%autosetup -p1 -n GitPython-%{version}
|
||||
# do not pull in extra deps
|
||||
sed -i -e '/tox/d' -e '/flake8/d' -e '/coverage/d' test-requirements.txt
|
||||
sed -i -e '/addopts/d' pyproject.toml
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -78,7 +77,7 @@ git config --global protocol.file.allow "always"
|
||||
git config --global user.email "you@example.com"
|
||||
git config --global user.name "Your Name"
|
||||
|
||||
%pytest -k 'not test_installation' test
|
||||
%pytest -k 'not (test_installation or test_rev_parse)'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user