代码拉取完成,页面将自动刷新
%global _empty_manifest_terminate_build 0
%global pypi_name time-machine
%global source_name time-machine
Name: python-%{pypi_name}
Version: 3.1.0
Release: 1
Summary: Travel through time in your tests.
License: MIT
URL: https://github.com/adamchainz/time-machine
Source0: https://github.com/adamchainz/time-machine/archive/refs/tags/%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-editables
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
%description
Travel through time in your tests.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
Travel through time in your tests.
%prep
%autosetup -p1 -n %{source_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE
%{python3_sitearch}/_time_machine*.so
%{python3_sitearch}/time_machine-*.dist-info/
%{python3_sitearch}/time_machine
%changelog
* Mon Nov 24 2025 lixiaoyong <lixiaoyong@kylinos.cn> - 3.1.0-1
- Update package to version 3.1.0
Optimize patching of uuid module
* Thu Nov 20 2025 dongqi <dongqi1@kylinos.cn> - 3.0.0-1
- Update package to version 3.0.0
Drop Python 3.9 support
Bump the github-actions group with 2 updates
Use match statement in CLI
* Fri Sep 05 2025 dongjiao <dongjiao@kylinos> - 2.19.0-1
- Update package to version 2.19.0
Support free-threaded Python.
* Fri Oct 18 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.16.0-1
- Update package to version 2.16.0
Drop Python 3.8 support.
* Mon Aug 26 2024 xuhe <xuhe@kylinos.cn> - 2.15.0-1
- Update version to 2.15.0
- Upgrade GitHub Actions upload-artifact in build workflow.
- Upgrade cibuildwheel.
- Upgrade requirements.
- Fix workflow badge visibility in README.
- Ignore Flake8 max line length errors.
- Tidy pyproject.toml readme and license fields.
- Improve MyPy configuration.
- Fix System Error on Python 3.13 and Windows.
- Build wheels for Python 3.13.
- Downgrade wheel build environment Ubuntu version.
* Mon Jun 3 2024 dongjiao <dongjiao@kylinos.cn> - 2.14.1-1
- Update package to version 2.14.1
Support Python 3.13 alpha 4.
Some bug fix
* Fri Mar 1 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.13.0-1
- Update package to version 2.13.0
Add support for datetime.timedelta to time_machine.travel().
Add shift() method to the time_machine pytest fixture.
Fix documentation about using local time for naive date(time) strings.
* Sun Jun 18 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.10.0-1
- Initial package 2.10.0 for isort test
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。