Accepting request 1184122 from devel:languages:python
- skip test that fails with setuptools 70.1 (gh#pypa/pyproject-hooks#203) - update to 1.1.0: * Add type annotations to the public API. * More careful handling of the backend-path key from pyproject.toml. Previous versions would load the backend and then check that it was loaded from the specified path; the new version only loads it from the specified path. The BackendInvalid exception is now a synonym for :exc:`BackendUnavailable`, and code should move to using the latter name. OBS-URL: https://build.opensuse.org/request/show/1184122 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyproject-hooks?expand=0&rev=3
This commit is contained in:
commit
bbbd237e46
BIN
pyproject_hooks-1.0.0.tar.gz
(Stored with Git LFS)
BIN
pyproject_hooks-1.0.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
pyproject_hooks-1.1.0-gh.tar.gz
Normal file
3
pyproject_hooks-1.1.0-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1cbbabcd93ea1ac50cca7f23e5b640904684ae6c85003c6f7cf02b598c33f28f
|
||||||
|
size 18774
|
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 30 18:58:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- skip test that fails with setuptools 70.1
|
||||||
|
(gh#pypa/pyproject-hooks#203)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 29 12:29:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.1.0:
|
||||||
|
* Add type annotations to the public API.
|
||||||
|
* More careful handling of the backend-path key from
|
||||||
|
pyproject.toml. Previous versions would load the backend and
|
||||||
|
then check that it was loaded from the specified path; the new
|
||||||
|
version only loads it from the specified path. The
|
||||||
|
BackendInvalid exception is now a synonym for
|
||||||
|
:exc:`BackendUnavailable`, and code should move to using the
|
||||||
|
latter name.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:31:09 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:31:09 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyproject-hooks
|
# spec file for package python-pyproject-hooks
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 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
|
||||||
@ -15,23 +15,22 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%define fname pyproject_hooks
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyproject-hooks
|
Name: python-pyproject-hooks
|
||||||
Version: 1.0.0
|
Version: 1.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Wrappers to call pyproject.toml-based build backend hooks
|
Summary: Wrappers to call pyproject.toml-based build backend hooks
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pypa/pyproject-hooks
|
URL: https://github.com/pypa/pyproject-hooks
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyproject_hooks/%{fname}-%{version}.tar.gz
|
Source: https://github.com/pypa/pyproject-hooks/archive/refs/tags/v%{version}.tar.gz#/pyproject_hooks-%{version}-gh.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: %{python_module devel >= 3.7}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module flit-core}
|
BuildRequires: %{python_module flit-core}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module testpath}
|
BuildRequires: %{python_module testpath}
|
||||||
BuildRequires: %{python_module devel >= 3.7}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
%if 0%{?python_version_nodots} < 311
|
%if 0%{?python_version_nodots} < 311
|
||||||
Requires: python-tomli >= 1.1.0
|
Requires: python-tomli >= 1.1.0
|
||||||
%endif
|
%endif
|
||||||
@ -48,7 +47,7 @@ This is an underlying piece for `pip`, `build` and other "build frontends" use t
|
|||||||
Note: The ``pep517`` project has been replaced by this project (low level) and the ``build`` project (high level).
|
Note: The ``pep517`` project has been replaced by this project (low level) and the ``build`` project (high level).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{fname}-%{version}
|
%setup -q -n pyproject-hooks-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@ -58,7 +57,8 @@ Note: The ``pep517`` project has been replaced by this project (low level) and t
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
# https://github.com/pypa/pyproject-hooks/issues/203
|
||||||
|
%pytest -k "not test_setup"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/pyproject_hooks
|
%{python_sitelib}/pyproject_hooks
|
||||||
|
Loading…
Reference in New Issue
Block a user