Accepting request 769019 from home:mcalabkova:branches:devel:languages:python

- update to 3.4.3
  * ensure the git file finder closes file descriptor after reading archive
  * correctly transfer tag regex in the Configuration constructor
  * correctly set up the default version scheme for pyproject usage.
  * add support for projects built under setuptools declarative config
  * ensure the git file finder closes filedescriptors even when errors happen
  * clean out env vars from the git hook system to ensure correct function from within

OBS-URL: https://build.opensuse.org/request/show/769019
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=57
This commit is contained in:
Tomáš Chvátal 2020-01-31 10:34:57 +00:00 committed by Git OBS Bridge
parent 278eb16148
commit 62a89aa5d3
4 changed files with 22 additions and 6 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jan 31 10:24:46 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 3.4.3
* ensure the git file finder closes file descriptor after reading archive
* correctly transfer tag regex in the Configuration constructor
* correctly set up the default version scheme for pyproject usage.
* add support for projects built under setuptools declarative config
* ensure the git file finder closes filedescriptors even when errors happen
* clean out env vars from the git hook system to ensure correct function from within
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 1 08:54:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Fri Nov 1 08:54:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-setuptools_scm # spec file for package python-setuptools_scm
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 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
@ -26,7 +26,7 @@
%bcond_with test %bcond_with test
%endif %endif
Name: python-setuptools_scm%{psuffix} Name: python-setuptools_scm%{psuffix}
Version: 3.3.3 Version: 3.4.3
Release: 0 Release: 0
Summary: Python setuptools handler for SCM tags Summary: Python setuptools handler for SCM tags
License: MIT License: MIT
@ -37,13 +37,17 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools Requires: python-setuptools
Suggests: python-toml
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
# Testing requirements # Testing requirements
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 42}
BuildRequires: %{python_module setuptools_scm = %{version}} BuildRequires: %{python_module setuptools_scm = %{version}}
BuildRequires: %{python_module toml}
BuildRequires: git-core BuildRequires: git-core
BuildRequires: mercurial
%endif %endif
%if 0%{?suse_version} || 0%{?fedora_version} >= 24 %if 0%{?suse_version} || 0%{?fedora_version} >= 24
Recommends: git-core Recommends: git-core
@ -69,7 +73,8 @@ in SCM metadata. It also handles file finders for the supperted SCMs.
%if %{with test} %if %{with test}
%check %check
%pytest -k 'not (test_mercurial or hg)' # both tests in test_integration.py encounter https://github.com/pypa/setuptools_scm/issues/386 (at least on Python 2)
%pytest -k 'not test_integration'
%endif %endif
%if !%{with test} %if !%{with test}

View File

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

View File

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