Compare commits

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

7 commits

Author SHA1 Message Date
Jerry James
fcedef3cad Version 1.17.3 2025-08-28 15:26:42 -06:00
Jerry James
4f2e685f7f Change ExcludeArch to ExclusiveArch
- Limits the build to arches with working binary builders
- Allows installation on any arch
2025-08-27 17:15:41 -06:00
Jerry James
177d41000e Do not build on ppc64le due to lack of a binary builder 2025-08-27 17:15:36 -06:00
Jerry James
5101e06dd0 Version 1.17.2 2025-06-01 21:17:17 -06:00
Jerry James
92fbc5d3dd Version 1.17.1 2025-04-26 20:59:37 -06:00
Jerry James
1b074b6578 Version 1.17.0 2025-04-05 15:14:31 -06:00
Jerry James
0a8455b6c0 Version 1.16.7 2025-02-10 21:18:28 -07:00
4 changed files with 25 additions and 27 deletions

View file

@ -1,15 +1,15 @@
├─ MIT: 744
├─ ISC: 218
├─ BSD-3-Clause: 97
├─ MIT: 766
├─ ISC: 188
├─ BSD-3-Clause: 99
├─ Apache-2.0: 56
├─ BSD-2-Clause: 29
├─ (MIT OR CC0-1.0): 7
├─ CC0-1.0: 2
├─ BlueOak-1.0.0: 2
├─ BlueOak-1.0.0: 7
├─ (MIT OR CC0-1.0): 6
├─ UNLICENSED: 2
├─ CC0-1.0: 2
├─ 0BSD: 2
├─ MIT-0: 1
├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1
├─ MIT*: 1
├─ (MIT OR Apache-2.0): 1
├─ Python-2.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 -
rm -rf .package-cache node_modules
cleanup_and_exit 0
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 vsuffix d
Name: python-jupytext
Version: 1.16.6
Version: 1.17.3
Release: %autorelease
Summary: Save Jupyter notebooks as text documents or scripts
License: MIT
BuildArch: noarch
URL: https://jupytext.readthedocs.io/
VCS: git:%{giturl}.git
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
# 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: help2man
@ -29,8 +31,6 @@ BuildRequires: make
BuildRequires: nodejs-devel
BuildRequires: nodejs-npm
BuildRequires: pandoc
BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
# Temporary workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2275382
BuildRequires: nodejs-full-i18n
@ -73,7 +73,7 @@ Requires: jupyterlab >= 4.0
Provides: bundled(npm(base64-js)) = 1.5.1
Provides: bundled(npm(buffer)) = 6.0.3
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
@ -121,28 +121,25 @@ sed -i '/jupytext/d' docs/doc-requirements.txt
# Take this package out of the test requirements
sed -ri '/jupytext\[test(-functional)?\]/d' pyproject.toml
%generate_buildrequires
%generate_buildrequires -p
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 YARN_CACHE_FOLDER="$PWD/jupyterlab/.package-cache"
export npm_config_nodedir=%{_includedir}/node
export CFLAGS='%{build_cflags} -I%{_includedir}/node'
export CXXFLAGS='%{build_cxxflags} -I%{_includedir}/node'
%pyproject_wheel
%build -a
# Build the documentation
PYTHONPATH=$PWD %make_build -C docs html
rm docs/_build/html/.buildinfo
%install
%install -p
export HATCH_BUILD_HOOKS_ENABLE=true
%pyproject_install
%pyproject_save_files -l jupytext jupytext_config
%install -a
# Cleanup backup files
find %{buildroot}%{_prefix} -name \*.orig -delete

View file

@ -1,2 +1,2 @@
SHA512 (jupytext-1.16.6-vendor.tar.xz) = d5a6a2294caace6fcadacd2c9126d078420336a145996fbbebbf7d2eed3c8103698abccee595a469e419787a53072839c3da785a61b1c00eb5c442608948b03c
SHA512 (jupytext-1.16.6.tar.gz) = 8580678ef70b7d9fd2056b533697e807252fd7a9fe45ebdae48ee536a157a5e1a6b33cfaa7266710e5e5fb15bb1098419ed6fbadce0b5dee4ca9f2eb0040bcfd
SHA512 (jupytext-1.17.3-vendor.tar.xz) = 3bcdf1a0b73315e5d832e80e42f538333264bf9dfe6a92a9ce670c895368baa4f123c9464f21347cb48c197769088696f8de9a6f1b3c073ea7075b7f2dd22127
SHA512 (jupytext-1.17.3.tar.gz) = 768093d759ccc24b7c8b832267e18a3f2a98480bac890b867ad976d902ca44f684872330740f3a092e3b063e31cdaf11a19a31c8ec71c75456a891b35ab11467