| |
@@ -1,8 +1,12 @@
|
| |
+ # Unset -s on python shebang - ensure that extensions installed with pip
|
| |
+ # to user locations are seen and properly loaded
|
| |
+ %global py3_shebang_flags %nil
|
| |
+
|
| |
%global pypi_name qtconsole
|
| |
|
| |
Name: python-%{pypi_name}
|
| |
Version: 5.1.1
|
| |
- Release: 2%{?dist}
|
| |
+ Release: 3%{?dist}
|
| |
Summary: Jupyter Qt console
|
| |
|
| |
#license clarification issue opened with upstream
|
| |
@@ -81,6 +85,10 @@
|
| |
%doc html
|
| |
|
| |
%changelog
|
| |
+ * Mon Nov 29 2021 Karolina Surma <ksurma@redhat.com> - 5.1.1-3
|
| |
+ - Remove -s from Python shebang in `jupyter-qtconsole` to let Jupyter see
|
| |
+ pip installed extensions
|
| |
+
|
| |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
| |
|
| |
There was recently a config change in
jupyter_core
which enables loading extensions from user locations (namely~/.local/etc/jupyter
), see: https://github.com/jupyter/jupyter_core/issues/221. Our Python packages include Python shebang flag-s
by default which prevents loading modules from user site directories. This PR changes this default by unsetting%py3_shebang_flags
.This change is applied to all packages that bring
/usr/bin/jupyter-*
to Fedora.