Accepting request 926579 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to version 0.5.0 * Easier ways to use `MockCommand` to customise mocked commands, including `python=` to specify extra code to run, `.MockCommand.fixed_output`, and `.MockCommand.assert_called`. * Command mocking will use `os.defpath` as the initial PATH if the PATH environment variable is not set. - Drop Python 2 build OBS-URL: https://build.opensuse.org/request/show/926579 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-testpath?expand=0&rev=10
This commit is contained in:
parent
19049ce97b
commit
e46c6c837a
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 20 16:23:05 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to version 0.5.0
|
||||||
|
* Easier ways to use `MockCommand` to customise mocked commands,
|
||||||
|
including `python=` to specify extra code to run,
|
||||||
|
`.MockCommand.fixed_output`, and `.MockCommand.assert_called`.
|
||||||
|
* Command mocking will use `os.defpath` as the initial PATH if the
|
||||||
|
PATH environment variable is not set.
|
||||||
|
- Drop Python 2 build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 12 16:33:53 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
Tue Nov 12 16:33:53 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-testpath
|
# spec file for package python-testpath
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,16 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-testpath
|
Name: python-testpath
|
||||||
Version: 0.4.4
|
Version: 0.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Test utilities for code working with files and commands
|
Summary: Test utilities for code working with files and commands
|
||||||
License: LGPL-2.1-or-later OR BSD-3-Clause
|
License: BSD-3-Clause OR LGPL-2.1-or-later
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/jupyter/testpath
|
URL: https://github.com/jupyter/testpath
|
||||||
Source0: https://files.pythonhosted.org/packages/source/t/testpath/testpath-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/t/testpath/testpath-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -51,12 +53,12 @@ rm testpath/*.exe
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec -m pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/testpath/
|
%{python_sitelib}/testpath/
|
||||||
%{python_sitelib}/testpath-%{version}-py*.egg-info
|
%{python_sitelib}/testpath-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:60e0a3261c149755f4399a1fff7d37523179a70fdc3abdf78de9fc2604aeec7e
|
|
||||||
size 92928
|
|
3
testpath-0.5.0.tar.gz
Normal file
3
testpath-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1acf7a0bcd3004ae8357409fc33751e16d37ccc650921da1094a86581ad1e417
|
||||||
|
size 94021
|
Loading…
Reference in New Issue
Block a user