Compare commits

...
Sign in to create a new pull request.

14 commits

Author SHA1 Message Date
Jerry James
f86f0e4002 Version 1.18.1 2025-10-20 09:59:28 -06:00
Jerry James
8715a95f46 Version 1.18.0 2025-10-18 13:06:34 -06:00
Python Maint
1f8570322b Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 13:37:02 +02:00
Jerry James
5ecce0de68 Version 1.17.3 2025-08-28 14:51:34 -06:00
Jerry James
02bf441bb0 Change ExcludeArch to ExclusiveArch
- Limits the build to arches with working binary builders
- Allows installation on any arch
2025-08-27 16:40:21 -06:00
Python Maint
d337bf2222 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 14:00:32 +02:00
Fedora Release Engineering
609b72bfde Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 08:32:57 +00:00
Jerry James
ad347b51c6 Do not build on ppc64le due to lack of a binary builder 2025-07-15 08:35:38 -06:00
Python Maint
63b1149fcf Rebuilt for Python 3.14 2025-06-12 00:07:22 +02:00
Jerry James
7a1ce776c8 Version 1.17.2 2025-06-01 18:06:48 -06:00
Jerry James
8381a0c664 Version 1.17.1 2025-04-26 20:22:22 -06:00
Jerry James
1655cac4db Version 1.17.0 2025-04-05 14:05:26 -06:00
Jerry James
60811adbe2 Version 1.16.7 2025-02-10 20:54:20 -07:00
Fedora Release Engineering
b85a58d340 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 15:33:56 +00:00
4 changed files with 35 additions and 35 deletions

View file

@ -1,15 +1,15 @@
├─ MIT: 744 ├─ MIT: 766
├─ ISC: 218 ├─ ISC: 188
├─ BSD-3-Clause: 97 ├─ BSD-3-Clause: 99
├─ Apache-2.0: 56 ├─ Apache-2.0: 56
├─ BSD-2-Clause: 29 ├─ BSD-2-Clause: 29
├─ (MIT OR CC0-1.0): 7 ├─ BlueOak-1.0.0: 7
├─ CC0-1.0: 2 ├─ (MIT OR CC0-1.0): 6
├─ BlueOak-1.0.0: 2
├─ UNLICENSED: 2 ├─ UNLICENSED: 2
├─ CC0-1.0: 2
├─ 0BSD: 2 ├─ 0BSD: 2
├─ MIT-0: 1
├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1 ├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1
├─ MIT*: 1
├─ (MIT OR Apache-2.0): 1 ├─ (MIT OR Apache-2.0): 1
├─ Python-2.0: 1 ├─ Python-2.0: 1
├─ CC-BY-4.0: 1 ├─ CC-BY-4.0: 1

View file

@ -64,6 +64,7 @@ jlpm license-checker --summary | sed "s#$PKG_PATH#/tmp/#g" > $PKG_DIR/${PKG_NAME
cd - cd -
rm -rf .package-cache node_modules rm -rf .package-cache node_modules
cleanup_and_exit 0
echo ">>>>>> Remember to run this script on both x86_64 AND aarch64 and merge" echo ">>>>>> Remember to run this script on both x86_64 AND aarch64 and merge"
cleanup_and_exit 0

View file

@ -1,16 +1,12 @@
# NOTE: sphinx-gallery support requires a version <= 0.8. Upstream will
# accept patches to make it work with later versions.
%global giturl https://github.com/mwouts/jupytext %global giturl https://github.com/mwouts/jupytext
#global vsuffix d #global vsuffix d
Name: python-jupytext Name: python-jupytext
Version: 1.16.6 Version: 1.18.1
Release: %autorelease Release: %autorelease
Summary: Save Jupyter notebooks as text documents or scripts Summary: Save Jupyter notebooks as text documents or scripts
License: MIT License: MIT
BuildArch: noarch
URL: https://jupytext.readthedocs.io/ URL: https://jupytext.readthedocs.io/
VCS: git:%{giturl}.git VCS: git:%{giturl}.git
Source0: %{giturl}/archive/v%{version}/jupytext-%{version}%{?vsuffix}.tar.gz Source0: %{giturl}/archive/v%{version}/jupytext-%{version}%{?vsuffix}.tar.gz
@ -21,7 +17,13 @@ Source3: prepare_vendor.sh
# s390x builds fail due to a bug in jupyterlab # s390x builds fail due to a bug in jupyterlab
# https://bugzilla.redhat.com/show_bug.cgi?id=2278011 # https://bugzilla.redhat.com/show_bug.cgi?id=2278011
ExcludeArch: s390x # ppc64le builds fail due to lack of a binary builder
ExclusiveArch: %{x86_64} %{arm64} noarch
BuildArch: noarch
BuildSystem: pyproject
BuildOption(generate_buildrequires): -x docs,test,test-functional,test-integration
BuildOption(install): -l jupytext jupytext_config
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: help2man BuildRequires: help2man
@ -29,17 +31,14 @@ BuildRequires: make
BuildRequires: nodejs-devel BuildRequires: nodejs-devel
BuildRequires: nodejs-npm BuildRequires: nodejs-npm
BuildRequires: pandoc BuildRequires: pandoc
BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
# Temporary workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2275382 # Temporary workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2275382
BuildRequires: nodejs-full-i18n BuildRequires: nodejs-full-i18n
%global _desc %{expand: %global _desc %{expand:Have you always wished Jupyter notebooks were plain text documents? Wished
Have you always wished Jupyter notebooks were plain text documents? you could edit them in your favorite IDE? And get clear and meaningful diffs
Wished you could edit them in your favorite IDE? And get clear and when doing version control? Then... Jupytext may well be the tool you're
meaningful diffs when doing version control? Then... Jupytext may well looking for!
be the tool you're looking for!
Jupytext is a plugin for Jupyter that can save Jupyter notebooks as Jupytext is a plugin for Jupyter that can save Jupyter notebooks as
- Markdown files (or MyST Markdown files, or R Markdown or Quarto text - Markdown files (or MyST Markdown files, or R Markdown or Quarto text
@ -51,14 +50,16 @@ Common use cases for Jupytext are:
- Editing, merging or refactoring notebooks in your favorite text editor - Editing, merging or refactoring notebooks in your favorite text editor
- Applying Q&A checks on notebooks.} - Applying Q&A checks on notebooks.}
%description %_desc %description
%_desc
%package -n python3-jupytext %package -n python3-jupytext
Summary: %{summary} Summary: %{summary}
# Filesystem package for the standard Jupyter paths # Filesystem package for the standard Jupyter paths
Requires: python-jupyter-filesystem Requires: python-jupyter-filesystem
%description -n python3-jupytext %_desc %description -n python3-jupytext
%_desc
%package -n python3-jupyterlab-jupytext %package -n python3-jupyterlab-jupytext
# The jupytext project is released under the MIT license. Bundled JavaScript: # The jupytext project is released under the MIT license. Bundled JavaScript:
@ -73,9 +74,10 @@ Requires: jupyterlab >= 4.0
Provides: bundled(npm(base64-js)) = 1.5.1 Provides: bundled(npm(base64-js)) = 1.5.1
Provides: bundled(npm(buffer)) = 6.0.3 Provides: bundled(npm(buffer)) = 6.0.3
Provides: bundled(npm(ieee754)) = 1.2.1 Provides: bundled(npm(ieee754)) = 1.2.1
Provides: bundled(npm(jupyterlab-rise)) = 0.41.0 Provides: bundled(npm(jupyterlab-rise)) = 0.43.1
%description -n python3-jupyterlab-jupytext %_desc %description -n python3-jupyterlab-jupytext
%_desc
%package doc %package doc
# The content is MIT. Other licenses are due to Sphinx files. # The content is MIT. Other licenses are due to Sphinx files.
@ -121,28 +123,25 @@ sed -i '/jupytext/d' docs/doc-requirements.txt
# Take this package out of the test requirements # Take this package out of the test requirements
sed -ri '/jupytext\[test(-functional)?\]/d' pyproject.toml sed -ri '/jupytext\[test(-functional)?\]/d' pyproject.toml
%generate_buildrequires %generate_buildrequires -p
export HATCH_BUILD_HOOKS_ENABLE=true export HATCH_BUILD_HOOKS_ENABLE=true
%pyproject_buildrequires -x docs,test,test-functional,test-integration
%build %build -p
export HATCH_BUILD_HOOKS_ENABLE=true export HATCH_BUILD_HOOKS_ENABLE=true
export YARN_CACHE_FOLDER="$PWD/jupyterlab/.package-cache" export YARN_CACHE_FOLDER="$PWD/jupyterlab/.package-cache"
export npm_config_nodedir=%{_includedir}/node export npm_config_nodedir=%{_includedir}/node
export CFLAGS='%{build_cflags} -I%{_includedir}/node' export CFLAGS='%{build_cflags} -I%{_includedir}/node'
export CXXFLAGS='%{build_cxxflags} -I%{_includedir}/node' export CXXFLAGS='%{build_cxxflags} -I%{_includedir}/node'
%pyproject_wheel %build -a
# Build the documentation # Build the documentation
PYTHONPATH=$PWD %make_build -C docs html PYTHONPATH=$PWD %make_build -C docs html
rm docs/_build/html/.buildinfo rm docs/_build/html/.buildinfo
%install %install -p
export HATCH_BUILD_HOOKS_ENABLE=true export HATCH_BUILD_HOOKS_ENABLE=true
%pyproject_install
%pyproject_save_files -l jupytext jupytext_config
%install -a
# Cleanup backup files # Cleanup backup files
find %{buildroot}%{_prefix} -name \*.orig -delete find %{buildroot}%{_prefix} -name \*.orig -delete

View file

@ -1,2 +1,2 @@
SHA512 (jupytext-1.16.6-vendor.tar.xz) = d5a6a2294caace6fcadacd2c9126d078420336a145996fbbebbf7d2eed3c8103698abccee595a469e419787a53072839c3da785a61b1c00eb5c442608948b03c SHA512 (jupytext-1.18.1-vendor.tar.xz) = b1dcbbd21877d82b3134f604a572eee23b9bf271b54d1cafefc2b88ca0ae1cc2b9b440cec45cbb0c6de122ee25697c103999a0f01f0767d2dd7c48532db56109
SHA512 (jupytext-1.16.6.tar.gz) = 8580678ef70b7d9fd2056b533697e807252fd7a9fe45ebdae48ee536a157a5e1a6b33cfaa7266710e5e5fb15bb1098419ed6fbadce0b5dee4ca9f2eb0040bcfd SHA512 (jupytext-1.18.1.tar.gz) = 31593c01826319bb3517e546f0c04c99f786de33aa41082d2dfd411457fccd517f93fc9ea9f809fc75fbf0c9c78eedc0d5503e02486fe602876efbaf8a50c7f2