Accepting request 989218 from devel:languages:python:jupyter

- Fix spec-cleaner gone wrong
- Update requirements
- 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)

OBS-URL: https://build.opensuse.org/request/show/989218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-packaging?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2022-08-08 08:02:30 +00:00 committed by Git OBS Bridge
commit 3f29ee8c2b
4 changed files with 63 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f5c7eeea98f7f3c8fb41d565a94bf59791768a93f93148b3c2dfb7ebade8eec
size 21715

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b99eaecf56b9d1d99e7bcb6632d914a8ea5698da40b238ba89227a34157de32
size 27990

View File

@ -1,3 +1,52 @@
-------------------------------------------------------------------
Wed Jul 13 08:32:37 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Fix spec-cleaner gone wrong
- Update requirements
-------------------------------------------------------------------
Wed Jul 13 00:37:49 UTC 2022 - Arun Persaud <arun@gmx.de>
- 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 <code@bnavigator.de>

View File

@ -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
@ -16,10 +16,8 @@
#
%{?!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
@ -28,24 +26,27 @@ 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 deprecation}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module setuptools >= 46.4.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 60.2}
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-setuptools >= 60.2
Requires: python-tomlkit
Requires: python-wheel
Provides: python-jupyter_packaging = %{version}-%{release}
# SECTON test requirements
# 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
@ -58,10 +59,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