forked from pool/python-nbclassic
Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
0a35d748df | |||
36d7495fa3 | |||
bf0d6551ca | |||
46b65b58f0 | |||
89c32c2cd7 | |||
d65111011f | |||
d56a886c78 |
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Script to create node_modules.tar.xz
|
# Script to create node_modules.tar.xz
|
||||||
|
# needs bower, webpack and webpack-cli installed
|
||||||
|
|
||||||
npm install
|
yarn install
|
||||||
python3 setup.py jsdeps
|
yarn run build
|
||||||
|
tar cJf node_modules.tar.xz node_modules
|
||||||
tar cJf node_modules.tar.xz node_modules nbclassic/static/components
|
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e4d7d3e9404888749f2ac50e44266c42a6ab0eadb86cc13de021b91aabdb496f
|
|
||||||
size 8326047
|
|
3
nbclassic-1.3.1-gh.tar.gz
Normal file
3
nbclassic-1.3.1-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0907850e8ef62a9ca81c599430ebd0ae9cae3818cddb65f68aae09b36ae940a1
|
||||||
|
size 8386808
|
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:fdad8398d32042d0798bded77fe37d7b8edfc870f041e94f57f89d96b2d9f3b4
|
oid sha256:0681e0aac9f92300b465e871ab9331d46c44220501bdc406b9025350ff34ecd0
|
||||||
size 35529844
|
size 43369552
|
||||||
|
@@ -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>
|
Wed Jul 24 12:13:44 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-nbclassic
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,51 +24,39 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
%define skip_python39 1
|
|
||||||
# this conditional is used in the python-rpm-macros, but `osc build --without libalternatives` won't work
|
# this conditional is used in the python-rpm-macros, but `osc build --without libalternatives` won't work
|
||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
# 1.1.0 gets abbreviated by pythondistdeps
|
# 1.1.0 gets abbreviated by pythondistdeps
|
||||||
%define shortversion 1.1
|
%define shortversion 1.3.1
|
||||||
Name: python-nbclassic%{psuffix}
|
Name: python-nbclassic%{psuffix}
|
||||||
Version: 1.1.0
|
Version: 1.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Jupyter Notebook as a Jupyter Server Extension
|
Summary: Jupyter Notebook as a Jupyter Server Extension
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/jupyterlab/nbclassic
|
URL: https://github.com/jupyterlab/nbclassic
|
||||||
# The github archive has the nbclassic tests
|
# The github archive has the nbclassic tests
|
||||||
Source0: https://github.com/jupyterlab/nbclassic/archive/v%{version}.tar.gz#/nbclassic-%{version}-gh.tar.gz
|
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
|
Source1: node_modules.tar.xz
|
||||||
Source2: create_node_modules.sh
|
Source2: create_node_modules.sh
|
||||||
BuildRequires: %{python_module Babel}
|
BuildRequires: %{python_module Babel}
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.10}
|
||||||
BuildRequires: %{python_module jupyter-packaging}
|
BuildRequires: %{python_module hatch-jupyter-builder}
|
||||||
BuildRequires: %{python_module jupyter-server}
|
BuildRequires: %{python_module hatchling}
|
||||||
|
BuildRequires: %{python_module jupyter-server >= 1.17}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: jupyter-rpm-macros
|
BuildRequires: jupyter-rpm-macros
|
||||||
BuildRequires: nodejs-common
|
BuildRequires: nodejs-common
|
||||||
BuildRequires: npm-default
|
|
||||||
BuildRequires: python-rpm-macros >= 20210929
|
BuildRequires: python-rpm-macros >= 20210929
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: yarn
|
||||||
Requires: jupyter-nbclassic = %{version}
|
Requires: jupyter-nbclassic = %{version}
|
||||||
Requires: python-Jinja2
|
|
||||||
Requires: python-Send2Trash >= 1.8.0
|
|
||||||
Requires: python-argon2-cffi
|
|
||||||
Requires: python-ipykernel
|
Requires: python-ipykernel
|
||||||
Requires: python-ipython_genutils
|
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-nest-asyncio >= 1.5
|
||||||
Requires: python-notebook-shim >= 0.2.3
|
Requires: python-notebook-shim
|
||||||
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
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
@@ -78,10 +66,11 @@ BuildRequires: this-specfile-is-not-functional-without-libalternatives
|
|||||||
%endif
|
%endif
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module nbclassic = %{version}}
|
BuildRequires: %{python_module nbclassic = %{version}}
|
||||||
BuildRequires: %{python_module pytest-console-scripts}
|
BuildRequires: %{python_module nbval}
|
||||||
BuildRequires: %{python_module pytest-jupyter}
|
BuildRequires: %{python_module pytest-jupyter}
|
||||||
BuildRequires: %{python_module pytest-tornasync}
|
BuildRequires: %{python_module pytest-tornasync}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module requests-unixsocket}
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -111,9 +100,11 @@ This package contains the jupyterlab server configuration and desktop files
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n nbclassic-%{version} -a1
|
%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
|
%build
|
||||||
|
export HATCH_JUPYTER_BUILDER_SKIP_NPM=1
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Reference in New Issue
Block a user