1
0

7 Commits

Author SHA256 Message Date
0a35d748df Accepting request 1285049 from devel:languages:python:jupyter
- Update to 1.3.1 (CVE-2025-5889, bsc#1244343):
  * Fix Hatch build fails in src directory #340 (@danyeaw)
  * Fix mo translations missing from wheels #339 (@danyeaw)
  * Support offline source distribution builds #337 (@danyeaw)
  * Add CI workflow dispatch and timeouts #343 (@danyeaw)
  * Reformat pyproject.toml #342 (@danyeaw)
- 1.3.0:
  * Improve build performance through improving artifact patterns #317 (@danyeaw)
  * Save as improvements #267 (@andrewfulton9)
  * Upload release artifacts on push #332 (@RRosio)
  * Add Release workflows #331 (@RRosio)
  * Fix set-output deprecation warnings #330 (@RRosio)
  * Update JavaScript dependencies #329 (@danyeaw)
  * Drop support for Python 3.8, Test with 3.12 and 3.13 #327 (@danyeaw)
  * Automatically cancel concurrent workflows #326 (@danyeaw)
  * Initial migration from Bower to Yarn #323 (@danyeaw)
  * Fix CI Check Release job with deprecated action use #322 (@RRosio)
  * Update JQuery, Bootstrap, Underscore, Backbone, and requirejs-text #321 (@danyeaw)
  * Restore usage of flake8 and add to CI #316 (@danyeaw)
  * Migrate from setup.py to pyproject.toml #315 (@danyeaw)
  * Update macos action runner image to macos-13 #311 (@RRosio)
  * Remove use of deprecated distutils #310 (@danyeaw)

OBS-URL: https://build.opensuse.org/request/show/1285049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbclassic?expand=0&rev=26
2025-06-12 13:54:11 +00:00
36d7495fa3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclassic?expand=0&rev=52 2025-06-12 07:33:51 +00:00
bf0d6551ca Accepting request 1285036 from home:dgarcia:branches:devel:languages:python:jupyter
- Update to 1.3.1 (CVE-2025-5889, bsc#1244343):
  * Fix Hatch build fails in src directory #340 (@danyeaw)
  * Fix mo translations missing from wheels #339 (@danyeaw)
  * Support offline source distribution builds #337 (@danyeaw)
  * Add CI workflow dispatch and timeouts #343 (@danyeaw)
  * Reformat pyproject.toml #342 (@danyeaw)
- 1.3.0:
  * Improve build performance through improving artifact patterns #317 (@danyeaw)
  * Save as improvements #267 (@andrewfulton9)
  * Upload release artifacts on push #332 (@RRosio)
  * Add Release workflows #331 (@RRosio)
  * Fix set-output deprecation warnings #330 (@RRosio)
  * Update JavaScript dependencies #329 (@danyeaw)
  * Drop support for Python 3.8, Test with 3.12 and 3.13 #327 (@danyeaw)
  * Automatically cancel concurrent workflows #326 (@danyeaw)
  * Initial migration from Bower to Yarn #323 (@danyeaw)
  * Fix CI Check Release job with deprecated action use #322 (@RRosio)
  * Update JQuery, Bootstrap, Underscore, Backbone, and requirejs-text #321 (@danyeaw)
  * Restore usage of flake8 and add to CI #316 (@danyeaw)
  * Migrate from setup.py to pyproject.toml #315 (@danyeaw)
  * Update macos action runner image to macos-13 #311 (@RRosio)
  * Remove use of deprecated distutils #310 (@danyeaw)

OBS-URL: https://build.opensuse.org/request/show/1285036
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclassic?expand=0&rev=51
2025-06-12 07:31:23 +00:00
46b65b58f0 Accepting request 1252526 from devel:languages:python:jupyter
- Update to 1.2.0
  ## Bugs fixed
  * Add view handler to serve files when Notebook 7 is installed
    #287 (@RRosio)
  * fix: pasting outside of cells doing nothing #285
    (@iisakkirotko)
  ## Maintenance and upkeep improvements
  * Fix SyntaxWarning from update message #297 (@living180)
  * Replace pipes with shlex #286 (@frenzymadness)
- Refresh node modules, contains non-fixable vulnerabilities.
  * gh#jupyter/nbclassic#324
  * Nothing of this lands in the built packages (forwarded request 1252525 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1252526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbclassic?expand=0&rev=25
2025-03-12 19:15:01 +00:00
89c32c2cd7 - Update to 1.2.0
## Bugs fixed
  * Add view handler to serve files when Notebook 7 is installed
    #287 (@RRosio)
  * fix: pasting outside of cells doing nothing #285
    (@iisakkirotko)
  ## Maintenance and upkeep improvements
  * Fix SyntaxWarning from update message #297 (@living180)
  * Replace pipes with shlex #286 (@frenzymadness)
- Refresh node modules, contains non-fixable vulnerabilities.
  * gh#jupyter/nbclassic#324
  * Nothing of this lands in the built packages

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclassic?expand=0&rev=49
2025-03-12 15:25:51 +00:00
d65111011f Accepting request 1228316 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1228316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbclassic?expand=0&rev=24
2024-12-05 16:08:53 +00:00
d56a886c78 - refresh node modules
* update cross-spawn module to 7.0.6 - CVE-2024-21538 (bsc#1233851)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclassic?expand=0&rev=47
2024-12-04 13:32:14 +00:00
6 changed files with 72 additions and 33 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh
#
# Script to create node_modules.tar.xz
# needs bower, webpack and webpack-cli installed
npm install
python3 setup.py jsdeps
tar cJf node_modules.tar.xz node_modules nbclassic/static/components
yarn install
yarn run build
tar cJf node_modules.tar.xz node_modules

View File

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

View File

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

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fdad8398d32042d0798bded77fe37d7b8edfc870f041e94f57f89d96b2d9f3b4
size 35529844
oid sha256:0681e0aac9f92300b465e871ab9331d46c44220501bdc406b9025350ff34ecd0
size 43369552

View File

@@ -1,3 +1,51 @@
-------------------------------------------------------------------
Wed Jun 11 10:51:42 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 1.3.1 (CVE-2025-5889, bsc#1244343):
* Fix Hatch build fails in src directory #340 (@danyeaw)
* Fix mo translations missing from wheels #339 (@danyeaw)
* Support offline source distribution builds #337 (@danyeaw)
* Add CI workflow dispatch and timeouts #343 (@danyeaw)
* Reformat pyproject.toml #342 (@danyeaw)
- 1.3.0:
* Improve build performance through improving artifact patterns #317 (@danyeaw)
* Save as improvements #267 (@andrewfulton9)
* Upload release artifacts on push #332 (@RRosio)
* Add Release workflows #331 (@RRosio)
* Fix set-output deprecation warnings #330 (@RRosio)
* Update JavaScript dependencies #329 (@danyeaw)
* Drop support for Python 3.8, Test with 3.12 and 3.13 #327 (@danyeaw)
* Automatically cancel concurrent workflows #326 (@danyeaw)
* Initial migration from Bower to Yarn #323 (@danyeaw)
* Fix CI Check Release job with deprecated action use #322 (@RRosio)
* Update JQuery, Bootstrap, Underscore, Backbone, and requirejs-text #321 (@danyeaw)
* Restore usage of flake8 and add to CI #316 (@danyeaw)
* Migrate from setup.py to pyproject.toml #315 (@danyeaw)
* Update macos action runner image to macos-13 #311 (@RRosio)
* Remove use of deprecated distutils #310 (@danyeaw)
-------------------------------------------------------------------
Wed Mar 12 13:13:13 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 1.2.0
## Bugs fixed
* Add view handler to serve files when Notebook 7 is installed
#287 (@RRosio)
* fix: pasting outside of cells doing nothing #285
(@iisakkirotko)
## Maintenance and upkeep improvements
* Fix SyntaxWarning from update message #297 (@living180)
* Replace pipes with shlex #286 (@frenzymadness)
- Refresh node modules, contains non-fixable vulnerabilities.
* gh#jupyter/nbclassic#324
* Nothing of this lands in the built packages
-------------------------------------------------------------------
Wed Dec 4 12:42:34 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
- refresh node modules
* update cross-spawn module to 7.0.6 - CVE-2024-21538 (bsc#1233851)
-------------------------------------------------------------------
Wed Jul 24 12:13:44 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-nbclassic
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,51 +24,39 @@
%define psuffix %{nil}
%bcond_with test
%endif
%define skip_python39 1
# this conditional is used in the python-rpm-macros, but `osc build --without libalternatives` won't work
%bcond_without libalternatives
# 1.1.0 gets abbreviated by pythondistdeps
%define shortversion 1.1
%define shortversion 1.3.1
Name: python-nbclassic%{psuffix}
Version: 1.1.0
Version: 1.3.1
Release: 0
Summary: Jupyter Notebook as a Jupyter Server Extension
License: BSD-3-Clause
URL: https://github.com/jupyterlab/nbclassic
# The github archive has the nbclassic tests
Source0: https://github.com/jupyterlab/nbclassic/archive/v%{version}.tar.gz#/nbclassic-%{version}-gh.tar.gz
# Contains high vulnerability issues according to npm audit. Nothing of it lands in the built packages.
Source1: node_modules.tar.xz
Source2: create_node_modules.sh
BuildRequires: %{python_module Babel}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module jupyter-packaging}
BuildRequires: %{python_module jupyter-server}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module hatch-jupyter-builder}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module jupyter-server >= 1.17}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: jupyter-rpm-macros
BuildRequires: nodejs-common
BuildRequires: npm-default
BuildRequires: python-rpm-macros >= 20210929
BuildRequires: update-desktop-files
BuildRequires: yarn
Requires: jupyter-nbclassic = %{version}
Requires: python-Jinja2
Requires: python-Send2Trash >= 1.8.0
Requires: python-argon2-cffi
Requires: python-ipykernel
Requires: python-ipython_genutils
Requires: python-jupyter-client >= 6.1.1
Requires: python-jupyter-core >= 4.6.1
Requires: python-nbconvert >= 5
Requires: python-nbformat
Requires: python-nest-asyncio >= 1.5
Requires: python-notebook-shim >= 0.2.3
Requires: python-prometheus-client
Requires: python-pyzmq >= 17
Requires: python-terminado >= 0.8.3
Requires: python-tornado >= 6.1
Requires: python-traitlets >= 4.2.1
Requires: python-notebook-shim
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
@@ -78,10 +66,11 @@ BuildRequires: this-specfile-is-not-functional-without-libalternatives
%endif
%if %{with test}
BuildRequires: %{python_module nbclassic = %{version}}
BuildRequires: %{python_module pytest-console-scripts}
BuildRequires: %{python_module nbval}
BuildRequires: %{python_module pytest-jupyter}
BuildRequires: %{python_module pytest-tornasync}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests-unixsocket}
%endif
%python_subpackages
@@ -111,9 +100,11 @@ This package contains the jupyterlab server configuration and desktop files
%prep
%autosetup -p1 -n nbclassic-%{version} -a1
python3 setup.py js css
sed -i "s/npm run yarn && //" package.json
ln -s $PWD/node_modules/@bower_components/ nbclassic/static/components
%build
export HATCH_JUPYTER_BUILDER_SKIP_NPM=1
%pyproject_wheel
%if !%{with test}