From 5dae80f8df0100e3b1f5059257541a720726cc41 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Apr 12 2022 14:07:29 +0000 Subject: Package dep update & py3.11 compat - python-path-py was renamed to python-path - python 3.11 Deprecated a config parser function that was causing tests to fail. Upstream patch filed and denoted in the spec. --- diff --git a/python-cherrypy.spec b/python-cherrypy.spec index a2b1bc8..22886b1 100644 --- a/python-cherrypy.spec +++ b/python-cherrypy.spec @@ -10,7 +10,7 @@ Name: python-cherrypy %global camelname CherryPy Version: 18.6.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Pythonic, object-oriented web development framework License: BSD URL: https://cherrypy.dev/ @@ -30,7 +30,7 @@ BuildRequires: python3dist(setuptools-scm) # Test dependencies BuildRequires: python3dist(cheroot) BuildRequires: python3dist(jaraco-collections) -BuildRequires: python3dist(path-py) +BuildRequires: python3dist(path) BuildRequires: python3dist(portend) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-cov) @@ -66,6 +66,10 @@ dos2unix cherrypy/tutorial/tutorial.conf rm cherrypy/test/test_session.py rm cherrypy/test/test_static.py +# Derecation Warning in Python 3.11 +# https://github.com/cherrypy/cherrypy/pull/1959 +sed -i 's/readfp/read_file/' cherrypy/lib/reprconf.py + %build %py3_build @@ -92,6 +96,9 @@ export WEBTEST_INTERACTIVE=false %exclude %{python3_sitelib}/cherrypy/tutorial %changelog +* Tue Apr 12 2022 Dan Radez - 18.6.1-3 +- updating python-path-py to python-path + * Fri Jan 21 2022 Fedora Release Engineering - 18.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild