From 1756aba042a10525caf1645c21b1f5495679b62660d05898fdc98bd14db39769 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 13 Jul 2022 05:54:39 +0000 Subject: [PATCH 1/4] Accepting request 988776 from home:apersaud:branches:devel:languages:python:jupyter update to latest version OBS-URL: https://build.opensuse.org/request/show/988776 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-packaging?expand=0&rev=12 --- jupyter_packaging-0.11.1.tar.gz | 3 --- jupyter_packaging-0.12.2.tar.gz | 3 +++ python-jupyter-packaging.changes | 43 ++++++++++++++++++++++++++++++++ python-jupyter-packaging.spec | 24 ++++++++++-------- 4 files changed, 59 insertions(+), 14 deletions(-) delete mode 100644 jupyter_packaging-0.11.1.tar.gz create mode 100644 jupyter_packaging-0.12.2.tar.gz diff --git a/jupyter_packaging-0.11.1.tar.gz b/jupyter_packaging-0.11.1.tar.gz deleted file mode 100644 index 2b97cea..0000000 --- a/jupyter_packaging-0.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f5c7eeea98f7f3c8fb41d565a94bf59791768a93f93148b3c2dfb7ebade8eec -size 21715 diff --git a/jupyter_packaging-0.12.2.tar.gz b/jupyter_packaging-0.12.2.tar.gz new file mode 100644 index 0000000..b84982d --- /dev/null +++ b/jupyter_packaging-0.12.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b99eaecf56b9d1d99e7bcb6632d914a8ea5698da40b238ba89227a34157de32 +size 27990 diff --git a/python-jupyter-packaging.changes b/python-jupyter-packaging.changes index cbb720b..d573f8b 100644 --- a/python-jupyter-packaging.changes +++ b/python-jupyter-packaging.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Wed Jul 13 00:37:49 UTC 2022 - Arun Persaud + +- specfile: + * update copyright year + * remove skip python version 2 (got base>=3.7 anyway) + * switch to pyproject build + * require hatchling, pip, pytest-timeout + +- update to version 0.12.2: + * Maintenance and upkeep improvements + + Replace deprecated pipes.quote with shlex.quote #153 (@hroncok) + + [pre-commit.ci] pre-commit autoupdate #152 (@pre-commit-ci) + + [pre-commit.ci] pre-commit autoupdate #151 (@pre-commit-ci) + +- changes from version 0.12.1: + * Enhancements made + + Allow skipping npm with JUPYTER_PACKAGING_SKIP_NPM env #133 + (@minrk) + * Maintenance and upkeep improvements + + [pre-commit.ci] pre-commit autoupdate #149 (@pre-commit-ci) + + Auto label bot PRs #148 (@blink1073) + + Use hatch backend #147 (@blink1073) + + [pre-commit.ci] pre-commit autoupdate #146 (@pre-commit-ci) + + Use flit build backend #144 (@blink1073) + + [pre-commit.ci] pre-commit autoupdate #142 (@pre-commit-ci) + + [pre-commit.ci] pre-commit autoupdate #141 (@pre-commit-ci) + + [pre-commit.ci] pre-commit autoupdate #140 (@pre-commit-ci) + + Update pre-commit #139 (@blink1073) + + Clean up CI and Tests #137 (@blink1073) + * Other merged PRs + + do not install tests as a top-level package #135 (@mgorny) + +- changes from version 0.12.0: + * Bugs fixed + + Update import for new setuptools path (setuptools >=61.0.0) #131 + (@timkpaine) + + Use pathlib rather than os.path #125 (@fcollonval) + * Maintenance and upkeep improvements + + Add source URL to pypi project page #129 (@manics) + + Add pre-commit #126 (@fcollonval) + + Stop using distutils.log #123 (@blink1073) + ------------------------------------------------------------------- Sun Nov 21 14:19:40 UTC 2021 - Ben Greiner diff --git a/python-jupyter-packaging.spec b/python-jupyter-packaging.spec index bd07357..4812f32 100644 --- a/python-jupyter-packaging.spec +++ b/python-jupyter-packaging.spec @@ -1,7 +1,7 @@ # # spec file for package python-jupyter-packaging # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,34 +17,36 @@ %{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 Name: python-jupyter-packaging -Version: 0.11.1 +Version: 0.12.2 Release: 0 Summary: Jupyter Packaging Utilities License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/jupyter/jupyter-packaging -Source: https://files.pythonhosted.org/packages/source/j/jupyter-packaging/jupyter_packaging-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/j/jupyter_packaging/jupyter_packaging-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} +# SECTON test requirements +BuildRequires: %{python_module build} BuildRequires: %{python_module deprecation} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module packaging} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest-timeout} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 46.4.0} BuildRequires: %{python_module tomlkit} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildArch: noarch Requires: python-deprecation Requires: python-packaging Requires: python-setuptools >= 46.4.0 Requires: python-tomlkit Requires: python-wheel Provides: python-jupyter_packaging = %{version}-%{release} -# SECTON test requirements -BuildRequires: %{python_module build} -BuildRequires: %{python_module pytest-mock} -BuildRequires: %{python_module pytest} +BuildArch: noarch #/SECTION %python_subpackages @@ -58,10 +60,10 @@ sed -i 's/\r$//' README.md sed -i -e '/^#!\//, 1d' jupyter_packaging/*.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check From db49722fbd99cd08fc1306cf54a3a7392889fbee9e4983663d016cac475777e7 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 13 Jul 2022 08:27:30 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-packaging?expand=0&rev=13 --- python-jupyter-packaging.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-jupyter-packaging.spec b/python-jupyter-packaging.spec index 4812f32..40a2fba 100644 --- a/python-jupyter-packaging.spec +++ b/python-jupyter-packaging.spec @@ -26,15 +26,11 @@ Group: Development/Languages/Python URL: https://github.com/jupyter/jupyter-packaging Source: https://files.pythonhosted.org/packages/source/j/jupyter_packaging/jupyter_packaging-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} -# SECTON test requirements BuildRequires: %{python_module build} BuildRequires: %{python_module deprecation} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pytest-mock} -BuildRequires: %{python_module pytest-timeout} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 46.4.0} BuildRequires: %{python_module tomlkit} BuildRequires: %{python_module wheel} @@ -47,6 +43,10 @@ Requires: python-tomlkit Requires: python-wheel Provides: python-jupyter_packaging = %{version}-%{release} BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest-timeout} +BuildRequires: %{python_module pytest} #/SECTION %python_subpackages From 4ae27dd120e761a6f6c8375402dcbfd2c96fef6f239c812ebb9e4610e3291f0a Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 13 Jul 2022 08:28:22 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-packaging?expand=0&rev=14 --- python-jupyter-packaging.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-jupyter-packaging.spec b/python-jupyter-packaging.spec index 40a2fba..cc6ded4 100644 --- a/python-jupyter-packaging.spec +++ b/python-jupyter-packaging.spec @@ -26,7 +26,6 @@ Group: Development/Languages/Python URL: https://github.com/jupyter/jupyter-packaging Source: https://files.pythonhosted.org/packages/source/j/jupyter_packaging/jupyter_packaging-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module build} BuildRequires: %{python_module deprecation} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module packaging} @@ -42,12 +41,13 @@ Requires: python-setuptools >= 46.4.0 Requires: python-tomlkit Requires: python-wheel Provides: python-jupyter_packaging = %{version}-%{release} -BuildArch: noarch # SECTION test requirements +BuildRequires: %{python_module build} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} #/SECTION +BuildArch: noarch %python_subpackages %description From 361f49146ea7b1b3c5dad7f3458860632b0fc7afb3f9dacffb391900c75c8872 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 13 Jul 2022 08:34:13 +0000 Subject: [PATCH 4/4] - Fix spec-cleaner gone wrong - Update requirements OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-packaging?expand=0&rev=15 --- python-jupyter-packaging.changes | 6 ++++++ python-jupyter-packaging.spec | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-jupyter-packaging.changes b/python-jupyter-packaging.changes index d573f8b..a901e1c 100644 --- a/python-jupyter-packaging.changes +++ b/python-jupyter-packaging.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 13 08:32:37 UTC 2022 - Ben Greiner + +- Fix spec-cleaner gone wrong +- Update requirements + ------------------------------------------------------------------- Wed Jul 13 00:37:49 UTC 2022 - Arun Persaud diff --git a/python-jupyter-packaging.spec b/python-jupyter-packaging.spec index cc6ded4..ca14dad 100644 --- a/python-jupyter-packaging.spec +++ b/python-jupyter-packaging.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} Name: python-jupyter-packaging Version: 0.12.2 Release: 0 @@ -24,20 +23,20 @@ Summary: Jupyter Packaging Utilities License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/jupyter/jupyter-packaging -Source: https://files.pythonhosted.org/packages/source/j/jupyter_packaging/jupyter_packaging-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/j/jupyter-packaging/jupyter_packaging-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module deprecation} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools >= 46.4.0} +BuildRequires: %{python_module setuptools >= 60.2} BuildRequires: %{python_module tomlkit} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-deprecation Requires: python-packaging -Requires: python-setuptools >= 46.4.0 +Requires: python-setuptools >= 60.2 Requires: python-tomlkit Requires: python-wheel Provides: python-jupyter_packaging = %{version}-%{release}