Name: python-nox
Version: 2026.04.10
Release: 1
Summary: Flexible test automation
License: Apache-2.0
URL: https://github.com/wntrblm/nox
Source0: https://github.com/wntrblm/nox/archive/refs/tags/%{version}.tar.gz
BuildArch: noarch
%description
Nox is a command-line tool that automates testing in multiple Python
environments, similar to tox. Unlike tox, Nox uses a standard Python
file for configuration.
%package -n python3-nox
Summary: Flexible test automation
Provides: python-nox
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description -n python3-nox
Nox is a command-line tool that automates testing in multiple Python
environments, similar to tox. Unlike tox, Nox uses a standard Python
file for configuration.
%prep
%autosetup -n nox-%{version}
# Use the newest tox 4
sed -i 's/"tox<4"/"tox"/' pyproject.toml
# Use current Python version instead of Python 2 in tests
sed -i "s/2\.7/%python3_version/;s/27/%python3_version_nodots/" tests/test_tox_to_nox.py
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-nox
%license LICENSE
%doc README.md
%{_bindir}/nox
%{_bindir}/tox-to-nox
%{python3_sitelib}/nox-*.dist-info/
%{python3_sitelib}/nox/
%changelog
* Fri Jul 10 2026 wuzhaomin <wuzhaomin@kylinos.cn> - 2026.04.10-1
- Add a `nox --usage <session>` command to print full docstrings for provided sessions
- Recreate venv if broken symlinks are present
- Fully pin actions in composite action
* Fri Nov 21 2025 wuzhaomin <wuzhaomin@kylinos.cn> - 2025.11.12-1
- update package to 2025.11.12
- Fix(types): tighten type for venv_backend
- Fix: correct minimum versions and test
- Fix: let uv replace the directory instead of deleting it ourselves
* Thu Oct 09 2025 lifeifei <lifeifei@kylinos.cn> - 2025.5.1-1
- update package to 2025.05.01
- Fix conda_install compatibility issue with newer versions of conda (Unix only).
- Support pathlib.Path objects for the envdir configuration.
- Add UV_PYTHON to the list of disallowed environment variables to prevent conflicts.
- Support forcing a specific Python version in parametrized sessions.
* Mon Aug 25 2025 dongqi <dongqi1@kylinos.cn> - 2025.02.09-1
- Upgrade package version to 2025.02.09-1
- Support PEP 723 noxfiles
- Add a "pyproject.toml" default for load_toml
- Add more Ruff checks and fixes
- Cleanup symlink noxfile code
- Drop some type ignores for colorlog
* Thu Oct 17 2024 lixiaoyong <lixiaoyong@kylinos.cn> - 2024.10.9-1
- Upgrade package version to 2024.10.9
- Updated type annotation of stderr parameter to make it optional
- Removed add_timestamp from noxfile.options
* Thu Aug 17 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 2023.4.22-1
- Init package python-nox of version 2023.4.22.