Accepting request 1100466 from devel:languages:python:pytest
- update to 2.0.2: * Removed support for Python < 3.7. * Applied pyupgrade --py37-plus. * Minimal mypy fixes and dropped Python 2 support code. * Migrated packaging to hatch. * Dropped deprecated APIs of old makegateway names. * Removed py testing dependency. * Explicitly pass encoding when opening files in the gateway to get rid of warnings when using PYTHONWARNDEFAULTENCODING=1 (#195). * Fixed error when loading source code files from a path containing non-ascii characters. OBS-URL: https://build.opensuse.org/request/show/1100466 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-execnet?expand=0&rev=16
This commit is contained in:
commit
f4355107bf
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8f694f3ba9cc92cab508b152dcfe322153975c29bda272e2fd7f3f00f36e47c5
|
||||
size 173884
|
BIN
execnet-2.0.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
execnet-2.0.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 24 20:13:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.0.2:
|
||||
* Removed support for Python < 3.7.
|
||||
* Applied pyupgrade --py37-plus.
|
||||
* Minimal mypy fixes and dropped Python 2 support code.
|
||||
* Migrated packaging to hatch.
|
||||
* Dropped deprecated APIs of old makegateway names.
|
||||
* Removed py testing dependency.
|
||||
* Explicitly pass encoding when opening files in the gateway
|
||||
to get rid of warnings when using PYTHONWARNDEFAULTENCODING=1 (#195).
|
||||
* Fixed error when loading source code files from a path
|
||||
containing non-ascii characters.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:24:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -18,17 +18,17 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-execnet
|
||||
Version: 1.9.0
|
||||
Version: 2.0.2
|
||||
Release: 0
|
||||
Summary: Rapid multi-Python deployment
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://github.com/pytest-dev/execnet
|
||||
Source0: https://files.pythonhosted.org/packages/source/e/execnet/execnet-%{version}.tar.gz
|
||||
BuildRequires: %{python_module hatch_vcs}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module py}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: procps
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -48,15 +48,12 @@ API targetting the following uses:
|
||||
|
||||
%prep
|
||||
%setup -q -n execnet-%{version}
|
||||
sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
# fix non-executable-script error
|
||||
sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@ -64,8 +61,8 @@ sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%doc README.rst
|
||||
%{python_sitelib}/execnet
|
||||
%{python_sitelib}/execnet-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitelib}/execnet-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user