1 Star 0 Fork 13

starlet_dx/python-pytest-shutil

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pytest-shutil.spec 2.75 KB
一键复制 编辑 原始数据 按行查看 历史
starlet_dx 提交于 2024-12-12 14:27 . Update to 1.8.1
Name: python-pytest-shutil
Version: 1.8.1
Release: 1
Summary: A goodie-bag of unix shell and environment tools for py.test
License: MIT
URL: https://pypi.python.org/pypi/pytest-shutil
Source0: %{pypi_source pytest-shutil}
BuildArch: noarch
BuildRequires: python3-devel python3-execnet python3-wheel
BuildRequires: python3-pytest python3-pip python3-setuptools_git python3-termcolor
%description
This library is a goodie-bag of Unix shell and environment management tools for automated tests.
%package -n python3-pytest-shutil
Summary: A goodie-bag of unix shell and environment tools for py.test
%{?python_provide:%python_provide python3-pytest-shutil}
Requires: python3-pytest
%description -n python3-pytest-shutil
This library is a goodie-bag of Unix shell and environment management tools for automated tests.
%prep
%autosetup -n pytest-shutil-%{version} -p1
%build
%py3_build
%install
%py3_install
%check
# Disable test_pretty_formatter test that fails in osc build but it works when run manually.
# It should be something related to the shell and termcolor
export PYTHONPATH=%{buildroot}%{python3_sitelib}
pytest
%files -n python3-pytest-shutil
%doc README.md CHANGES.md
%{python3_sitelib}/*
%changelog
* Thu Dec 12 2024 yaoxin <[email protected]> - 1.8.1-1
- Update to 1.8.1:
* Use py_modules in setup.py
* Fix flakiness on py3.9+ on Windows when the receive time was equal to the clear_time.
* Removed usage of deprecated pytest.yield_fixture.
* Removed usage of distutils, where possible.
* Remove custom hooks from python setup.py test since this is no longer supported.
* 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.
* Removed contextlib2 requirement.
* Fixed forcing color through termcolor.
* Mon Jul 31 2023 xu_ping <[email protected]> - 1.7.0-3
- remove buildrequires python3-contextlib2.
* Fri May 05 2023 yaoxin <[email protected]> - 1.7.0-2
- Fix compilation errors due to python-termcolor update to 2.3.0
* Thu Jun 30 2022 caodongxia <[email protected]> - 1.7.0-1
- Update to 1.7.0
* Mon Apr 25 2022 caodongxia<[email protected]> - 1.2.6-11
- add buildRequires to resolve compilation failure
* Fri Mar 4 2022 zhaoshuang<[email protected]> - 1.2.6-10
- modify buildrequires to resolve build issue
* Thu Sep 10 2020 Ge Wang<[email protected]> - 1.2.6-9
- Modify Source0 Url
* Thu Aug 06 2020 zhangjiapeng<[email protected]> - 1.2.6-8
- Remove python2
* Thu May 21 2020 wangerfeng<[email protected]> - 1.2.6-7
- fix testcase failure
* Wed Mar 4 2020 zhouyihang<[email protected]> - 1.2.6-6
- Pakcage init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/starlet-dx/python-pytest-shutil.git
[email protected]:starlet-dx/python-pytest-shutil.git
starlet-dx
python-pytest-shutil
python-pytest-shutil
master

搜索帮助