14
0

Accepting request 786238 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/786238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=26
This commit is contained in:
2020-03-26 23:26:57 +00:00
committed by Git OBS Bridge
4 changed files with 29 additions and 6 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Mar 18 12:04:39 UTC 2020 - pgajdos@suse.com
- version update to 3.5.0
* add ``no-local-version`` local scheme and improve documentation for schemes
* fix #403: also sort out resource warnings when dealing with git file finding
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-setuptools_scm%{psuffix}
Version: 3.3.3
Version: 3.5.0
Release: 0
Summary: Python setuptools handler for SCM tags
License: MIT
@@ -37,13 +37,17 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Suggests: python-toml
BuildArch: noarch
%if %{with test}
# Testing requirements
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 42}
BuildRequires: %{python_module setuptools_scm = %{version}}
BuildRequires: %{python_module toml}
BuildRequires: git-core
BuildRequires: mercurial
%endif
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
Recommends: git-core
@@ -69,7 +73,8 @@ in SCM metadata. It also handles file finders for the supperted SCMs.
%if %{with test}
%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
%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:5bdf21a05792903cafe7ae0c9501182ab52497614fa6b1750d9dbae7b60c1a87
size 46272