File project.diff of Package python-hatch
--- python-hatch.changes.orig
+++ python-hatch.changes
@@ -1,4 +1,14 @@
-------------------------------------------------------------------
+Fri Apr 21 12:26:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
+-------------------------------------------------------------------
+Thu Apr 13 22:41:47 UTC 2023 - Matej Cepl <mcepl@suse.com>
+
+- Make calling of %{sle15modernpython} optional.
+
+-------------------------------------------------------------------
Fri Jan 6 16:17:06 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to v1.6.3
--- python-hatch.spec.orig
+++ python-hatch.spec
@@ -25,6 +25,7 @@
%bcond_with test
%endif
+%{?sle15_python_module_pythons}
Name: python-hatch%{psuffix}
Version: 1.6.3
Release: 0
@@ -44,7 +45,22 @@ BuildArch: noarch
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires: git-core
-%{?python_enable_dependency_generator}
+
+# %%{?python_enable_dependency_generator}
+Requires: python-click
+Requires: python-hatchling
+Requires: python-httpx
+Requires: python-hyperlink
+Requires: python-keyring
+Requires: python-packaging
+Requires: python-platformdirs
+Requires: python-pyperclip
+Requires: python-rich
+Requires: python-shellingham
+Requires: python-tomli-w
+Requires: python-tomlkit
+Requires: python-virtualenv
+
%if %{with test}
BuildRequires: %{python_module filelock >= 3.7.1}
BuildRequires: %{python_module hatch = %{version}}
@@ -88,7 +104,7 @@ export LANG=en_US.UTF-8
# tests expect this to be unset and use their own reproducible value. Nothing installed from here.
# https://hatch.pypa.io/latest/config/build/#reproducible-builds
unset SOURCE_DATE_EPOCH
-%pytest
+%pytest -k "not test_new_selected_python"
%endif
%post