- Update to 1.8.0:

* Drop support for Python 2 and <3.6, removing compatibility code.
  * Use stdlib unittest.mock instead of mock package.
  * Removed usage of path.py and path in favour of pathlib.
- Modify python-pytest-pyramid-server-no-six.patch to remove the
  requirement completly.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-pyramid-server?expand=0&rev=5
This commit is contained in:
2024-10-22 06:10:44 +00:00
committed by Git OBS Bridge
commit 40fcea12b4
7 changed files with 155 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
Index: pytest-pyramid-server-1.8.0/pytest_pyramid_server.py
===================================================================
--- pytest-pyramid-server-1.8.0.orig/pytest_pyramid_server.py
+++ pytest-pyramid-server-1.8.0/pytest_pyramid_server.py
@@ -4,7 +4,7 @@ Created on 25 Apr 2012
@author: eeaston
'''
import os
-from six.moves import configparser
+import configparser
import sys
import socket
import glob
Index: pytest-pyramid-server-1.8.0/setup.py
===================================================================
--- pytest-pyramid-server-1.8.0.orig/setup.py
+++ pytest-pyramid-server-1.8.0/setup.py
@@ -23,7 +23,6 @@ install_requires = ['pytest-server-fixtu
'pytest',
'pyramid',
'waitress',
- 'six',
]
tests_require = [