1
0
forked from pool/python-sherpa

Accepting request 1147599 from devel:languages:python:numeric

Forwarded request #1147463 from bnavigator

- Skip python312: Requires setuptools < 60 and distutils

OBS-URL: https://build.opensuse.org/request/show/1147599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=19
This commit is contained in:
Ana Guerrero 2024-02-20 20:13:57 +00:00 committed by Git OBS Bridge
commit 603ff0adc1
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 18 15:31:44 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Skip python312: Requires setuptools < 60 and distutils
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 15 03:54:30 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Fri Dec 15 03:54:30 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-sherpa # spec file for package python-sherpa
# #
# 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
@ -16,6 +16,9 @@
# #
# requires distutils and setuptools < 60, which does not backport distutils. Unsuitable for python312
# Track upstream progress in https://github.com/sherpa/sherpa/pull/1949
%define skip_python312 1
Name: python-sherpa Name: python-sherpa
Version: 4.16.0 Version: 4.16.0
Release: 0 Release: 0
@ -40,6 +43,8 @@ Requires(postun):update-alternatives
ExcludeArch: %{ix86} %{arm} ExcludeArch: %{ix86} %{arm}
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest >= 5} BuildRequires: %{python_module pytest >= 5}
# doctestplus tests dont look ready gh#sherpa/sherpa#1719
# BuildRequires: %{python_module pytest-doctestplus}
BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest-xvfb} BuildRequires: %{python_module pytest-xvfb}
# Highly recommended by upstream when building from source # Highly recommended by upstream when building from source