Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ipykernel for openSUSE:Factory checked in at 2022-07-09 16:59:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ipykernel (Old) and /work/SRC/openSUSE:Factory/.python-ipykernel.new.1523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipykernel" Sat Jul 9 16:59:05 2022 rev:24 rq:987883 version:6.15.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ipykernel/python-ipykernel.changes 2022-06-24 08:45:09.191128601 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipykernel.new.1523/python-ipykernel.changes 2022-07-09 16:59:10.052447835 +0200 @@ -1,0 +2,6 @@ +Fri Jul 8 10:57:40 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch support-hatchling-14.patch: + * Support hatchling >= 1.4 + +------------------------------------------------------------------- New: ---- support-hatchling-14.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ipykernel.spec ++++++ --- /var/tmp/diff_new_pack.selMHW/_old 2022-07-09 16:59:10.764448905 +0200 +++ /var/tmp/diff_new_pack.selMHW/_new 2022-07-09 16:59:10.768448912 +0200 @@ -26,9 +26,11 @@ Group: Development/Languages/Python URL: https://github.com/ipython/ipykernel Source: https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz +# PATCH-FIX-UPSTREAM Support hatchling >= 1.4 gh#ipython/ipykernel#964 +Patch0: support-hatchling-14.patch # SECTION build-system BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module hatchling >= 1.4} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: jupyter-jupyter_core-filesystem ++++++ support-hatchling-14.patch ++++++ >From 694a01ee595efb29455a019dcc880746b5ab00b3 Mon Sep 17 00:00:00 2001 From: Steven Silvester <steven.silves...@ieee.org> Date: Fri, 8 Jul 2022 05:30:41 -0500 Subject: [PATCH 1/2] fix inclusion of launcher file and check in CI --- .github/workflows/ci.yml | 4 ++++ pyproject.toml | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 151dd3e9..4548c1a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,10 @@ jobs: run: | codecov + - name: Check Launcher + run: cd $HOME + python -m ipykernel_launcher --help + pre-commit: name: pre-commit runs-on: ubuntu-latest diff --git a/pyproject.toml b/pyproject.toml index 3c6487ab..5de353fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling>=0.25", "jupyter_client>=6"] +requires = ["hatchling>=1.4", "jupyter_client>=6"] build-backend = "hatchling.build" [project] @@ -54,8 +54,8 @@ test = [ [tool.hatch.build.targets.wheel.shared-data] "data_kernelspec" = "share/jupyter/kernels/python3" -[tool.hatch.build] -artifacts = ["ipykernel_launcher.py"] +[tool.hatch.build.force-include] +"./ipykernel_launcher.py" = "ipykernel_launcher.py" [tool.jupyter-releaser] skip = ["check-links"] >From b743712e07bf5ed2d9c019e3b593eb4cb009d76c Mon Sep 17 00:00:00 2001 From: Steven Silvester <steven.silves...@ieee.org> Date: Fri, 8 Jul 2022 05:36:40 -0500 Subject: [PATCH 2/2] fix workflow syntax --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4548c1a8..8464830c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,8 @@ jobs: codecov - name: Check Launcher - run: cd $HOME + run: | + cd $HOME python -m ipykernel_launcher --help pre-commit: