diff --git a/greenlet-3.0.2.tar.gz b/greenlet-3.0.2.tar.gz deleted file mode 100644 index d586494..0000000 --- a/greenlet-3.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c1129bc47266d83444c85a8e990ae22688cf05fb20d7951fd2866007c2ba9bc -size 175506 diff --git a/greenlet-3.0.3.tar.gz b/greenlet-3.0.3.tar.gz new file mode 100644 index 0000000..47b388b --- /dev/null +++ b/greenlet-3.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43374442353259554ce33599da8b692d5aa96f8976d567d4badf263371fbe491 +size 182013 diff --git a/python-greenlet.changes b/python-greenlet.changes index 66f6df6..60d9288 100644 --- a/python-greenlet.changes +++ b/python-greenlet.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Jan 10 22:14:16 UTC 2024 - Ben Greiner + +- Update to 3.0.3 + * Python 3.12: Restore the full ability to walk the stack of a + suspended greenlet; previously only the innermost frame was + exposed. See issue 388. Fix by Joshua Oreman in PR 393. +- Disable building the docs: Now requires the furo theme, which is + not available. + ------------------------------------------------------------------- Wed Jan 3 10:40:03 UTC 2024 - Dirk Müller diff --git a/python-greenlet.spec b/python-greenlet.spec index 8a9a982..a687b9b 100644 --- a/python-greenlet.spec +++ b/python-greenlet.spec @@ -17,9 +17,12 @@ # +# Requires python-furo +%bcond_with docs + %{?sle15_python_module_pythons} Name: python-greenlet -Version: 3.0.2 +Version: 3.0.3 Release: 0 Summary: Lightweight in-process concurrent programming License: MIT @@ -27,7 +30,7 @@ Group: Development/Libraries/Python URL: https://github.com/python-greenlet/greenlet Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz Source9: python-greenlet-rpmlintrc -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module objgraph} BuildRequires: %{python_module pip} BuildRequires: %{python_module psutil} @@ -36,7 +39,10 @@ BuildRequires: %{python_module wheel} BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with docs} BuildRequires: python3-Sphinx +BuildRequires: python3-furo +%endif %python_subpackages %description @@ -56,13 +62,16 @@ This package contains header files required for C modules development. %prep %autosetup -p1 -n greenlet-%{version} +sed -i '1{/env python/d}' src/greenlet/tests/test_version.py %build export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" %pyproject_wheel +%if %{with docs} export PYTHONPATH=$PWD/src cd docs && make html && rm _build/html/.buildinfo +%endif %install %pyproject_install @@ -76,9 +85,12 @@ export GREENLET_MANYLINUX=1 %files %{python_files} %doc AUTHORS CHANGES.rst README.rst +%if %{with docs} %doc docs/_build/html/ +%endif %license LICENSE* -%{python_sitearch}/greenlet* +%{python_sitearch}/greenlet +%{python_sitearch}/greenlet-%{version}.dist-info %files %{python_files devel} %doc AUTHORS