Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-nox for openSUSE:Factory checked in at 2023-06-23 21:52:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nox (Old) and /work/SRC/openSUSE:Factory/.python-nox.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nox" Fri Jun 23 21:52:28 2023 rev:7 rq:1094736 version:2023.4.22 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nox/python-nox.changes 2023-05-03 14:09:37.717346359 +0200 +++ /work/SRC/openSUSE:Factory/.python-nox.new.15902/python-nox.changes 2023-06-23 21:52:33.754603770 +0200 @@ -1,0 +2,7 @@ +Fri Jun 23 02:42:02 UTC 2023 - Steve Kowalik <[email protected]> + +- Add patch support-tox-4.patch: + * Support tox 4 +- Refresh upstream tarball due to repo move. + +------------------------------------------------------------------- New: ---- support-tox-4.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nox.spec ++++++ --- /var/tmp/diff_new_pack.FgGfZa/_old 2023-06-23 21:52:35.174611483 +0200 +++ /var/tmp/diff_new_pack.FgGfZa/_new 2023-06-23 21:52:35.210611679 +0200 @@ -17,14 +17,16 @@ %define skip_python2 1 +%define padded_version 2023.04.22 Name: python-nox Version: 2023.4.22 Release: 0 Summary: Flexible test automation License: Apache-2.0 -Group: Development/Languages/Python URL: https://nox.thea.codes -Source: https://github.com/theacodes/nox/archive/%{version}.tar.gz#/nox-%{version}.tar.gz +Source: https://github.com/wntrblm/nox/archive/refs/tags/%{padded_version}.tar.gz#/nox-%{version}.tar.gz +# PATCH-FIX-UPSTREAM gh#wntrblm/nox#687 +Patch0: support-tox-4.patch BuildRequires: %{python_module base >= 3.5} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} @@ -56,7 +58,7 @@ Flexible test automation. %prep -%setup -q -n nox-%{version} +%autosetup -p1 -n nox-%{padded_version} %build %pyproject_wheel ++++++ nox-2023.4.22.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nox-2023.4.22/.ruff_cache/.gitignore new/nox-2023.04.22/.ruff_cache/.gitignore --- old/nox-2023.4.22/.ruff_cache/.gitignore 2020-02-02 01:00:00.000000000 +0100 +++ new/nox-2023.04.22/.ruff_cache/.gitignore 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -* \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nox-2023.4.22/.ruff_cache/CACHEDIR.TAG new/nox-2023.04.22/.ruff_cache/CACHEDIR.TAG --- old/nox-2023.4.22/.ruff_cache/CACHEDIR.TAG 2020-02-02 01:00:00.000000000 +0100 +++ new/nox-2023.04.22/.ruff_cache/CACHEDIR.TAG 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -Signature: 8a477f597d28d172789f06886806bc55 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nox-2023.4.22/PKG-INFO new/nox-2023.04.22/PKG-INFO --- old/nox-2023.4.22/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 +++ new/nox-2023.04.22/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,134 +0,0 @@ -Metadata-Version: 2.1 -Name: nox -Version: 2023.4.22 -Summary: Flexible test automation. -Project-URL: bug-tracker, https://github.com/wntrblm/nox/issues -Project-URL: documentation, https://nox.thea.codes -Project-URL: homepage, https://github.com/wntrblm/nox -Project-URL: repository, https://github.com/wntrblm/nox -Author: Alethea Katherine Flowers -Author-email: [email protected] -License: Apache-2.0 -License-File: LICENSE -Keywords: automation,testing,tox -Classifier: Development Status :: 5 - Production/Stable -Classifier: Environment :: Console -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: Apache Software License -Classifier: Operating System :: MacOS -Classifier: Operating System :: Microsoft :: Windows -Classifier: Operating System :: POSIX -Classifier: Operating System :: Unix -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Programming Language :: Python :: 3.10 -Classifier: Programming Language :: Python :: 3.11 -Classifier: Topic :: Software Development :: Testing -Requires-Python: >=3.7 -Requires-Dist: argcomplete<4.0,>=1.9.4 -Requires-Dist: colorlog<7.0.0,>=2.6.1 -Requires-Dist: importlib-metadata; python_version < '3.8' -Requires-Dist: packaging>=20.9 -Requires-Dist: typing-extensions>=3.7.4; python_version < '3.8' -Requires-Dist: virtualenv>=14 -Provides-Extra: tox_to_nox -Requires-Dist: jinja2; extra == 'tox_to_nox' -Requires-Dist: tox<4; extra == 'tox_to_nox' -Description-Content-Type: text/markdown - -<p align="center"> -<img src="https://github.com/wntrblm/nox/raw/main/docs/_static/alice.png" alt="logo" width=50%> -</p> - -# Nox - -[](https://github.com/wntrblm/nox) -[](https://pypi.python.org/pypi/nox) -[](https://github.com/wntrblm/nox) -[](https://github.com/wntrblm/nox) -[](https://github.com/wntrblm/nox/actions?query=workflow%3ACI) -[](https://pepy.tech/project/nox) - -*Flexible test automation with Python* - -* **Documentation:** [https://nox.readthedocs.io](https://nox.readthedocs.io) - -* **Source Code:** [https://github.com/wntrblm/nox](https://github.com/wntrblm/nox) - -## Overview - -`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: - -```python -import nox - - [email protected] -def tests(session: nox.Session) -> None: - session.install("pytest") - session.run("pytest") - [email protected] -def lint(session: nox.Session) -> None: - session.install("flake8") - session.run("flake8", "--import-order-style", "google") -``` - -## Installation - -Nox is designed to be installed globally (not in a project virtual environment), the recommended way of doing this is via [pipx], a tool designed to install python CLI programs whilst keeping them separate from your global or system python. - -To install Nox with [pipx]: - -```shell -pipx install nox -``` - -You can also use [pip] in your global python: - -```shell -python3 -m pip install nox -``` - -You may want to user the [user-site] to avoid messing with your Global python install: - -```shell -python3 -m pip install --user nox -``` - -## Usage - -### List all sessions - -```shell -nox -l/--list -``` - -### Run all sessions - -```shell -nox -``` - -### Run a particular session - -```shell -nox -s/--session test -``` - -Checkout the [docs](https://nox.readthedocs.io) for more! ð - -## Contributing - -Nox is an open source project and welcomes contributions of all kinds, checkout the [contributing guide](CONTRIBUTING.md) for help on how to help us out! - -All contributors must follow the [code of conduct](CODE_OF_CONDUCT.md) and be nice to one another! ð - -[tox]: https://tox.readthedocs.io -[pipx]: https://pypa.github.io/pipx/ -[pip]: https://pip.pypa.io/en/stable/ -[user-site]: https://packaging.python.org/en/latest/tutorials/installing-packages/#installing-to-the-user-site ++++++ support-tox-4.patch ++++++ ++++ 609 lines (skipped)
