2019-11-12 16:43:17 +00:00
|
|
|
From: toddrme2178@gmail.com
|
|
|
|
Date: 2017-09-20
|
|
|
|
Subject: Use rpm paths
|
|
|
|
|
Accepting request 868748 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to 4.7.1
* Allow creating user to delete secure file
- Changelog for 4.7.0
* Add a new JUPYTER_PREFER_ENV_PATH variable, which can be set
to switch the order of the environment-level path and the
user-level path in the Jupyter path hierarchy (e.g., jupyter
--paths). It is considered set if it is a value that is not
one of 'no', 'n', 'off', 'false', '0', or '0.0' (case
insensitive). If you are running Jupyter in multiple virtual
environments as the same user, you will likely want to set
this environment variable.
* Drop Python 2.x and 3.5 support, as they have reached end of
life.
* jupyter --paths --debug now explains the environment
variables that affect the current path list.
* Add conda environment information in jupyter troubleshoot.
* Update _version.version_info and _version.__version__ to
follow Python conventions.
- merge jupyter package as capability into the primary python
package
- fix replacement of paths:
* fix noop introduced by overeager specfile-cleaner for system
paths, adjust use_rpm_paths.patch
* don't replace ENV_CONFIG_PATH or ENV_JUPYTER_PATH because that
would break virtual environments. See also
gh#jupyter/jupyter_core#208
OBS-URL: https://build.opensuse.org/request/show/868748
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-core?expand=0&rev=12
2021-02-03 12:33:57 +00:00
|
|
|
Use single-line paths. These must be replaced with the appropriate
|
2019-11-12 16:43:17 +00:00
|
|
|
system paths in the .spec file.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
--- a/jupyter_core/paths.py
|
|
|
|
+++ b/jupyter_core/paths.py
|
2021-02-25 20:53:14 +00:00
|
|
|
@@ -124,10 +124,7 @@ if os.name == 'nt':
|
2019-11-12 16:43:17 +00:00
|
|
|
else: # PROGRAMDATA is not defined by default on XP.
|
|
|
|
SYSTEM_JUPYTER_PATH = [os.path.join(sys.prefix, 'share', 'jupyter')]
|
|
|
|
else:
|
|
|
|
- SYSTEM_JUPYTER_PATH = [
|
|
|
|
- "/usr/local/share/jupyter",
|
|
|
|
- "/usr/share/jupyter",
|
|
|
|
- ]
|
Accepting request 868748 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to 4.7.1
* Allow creating user to delete secure file
- Changelog for 4.7.0
* Add a new JUPYTER_PREFER_ENV_PATH variable, which can be set
to switch the order of the environment-level path and the
user-level path in the Jupyter path hierarchy (e.g., jupyter
--paths). It is considered set if it is a value that is not
one of 'no', 'n', 'off', 'false', '0', or '0.0' (case
insensitive). If you are running Jupyter in multiple virtual
environments as the same user, you will likely want to set
this environment variable.
* Drop Python 2.x and 3.5 support, as they have reached end of
life.
* jupyter --paths --debug now explains the environment
variables that affect the current path list.
* Add conda environment information in jupyter troubleshoot.
* Update _version.version_info and _version.__version__ to
follow Python conventions.
- merge jupyter package as capability into the primary python
package
- fix replacement of paths:
* fix noop introduced by overeager specfile-cleaner for system
paths, adjust use_rpm_paths.patch
* don't replace ENV_CONFIG_PATH or ENV_JUPYTER_PATH because that
would break virtual environments. See also
gh#jupyter/jupyter_core#208
OBS-URL: https://build.opensuse.org/request/show/868748
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-core?expand=0&rev=12
2021-02-03 12:33:57 +00:00
|
|
|
+ SYSTEM_JUPYTER_PATH = ["_datadir_jupyter_"]
|
2019-11-12 16:43:17 +00:00
|
|
|
|
|
|
|
ENV_JUPYTER_PATH = [os.path.join(sys.prefix, 'share', 'jupyter')]
|
|
|
|
|
2021-02-25 20:53:14 +00:00
|
|
|
@@ -186,10 +183,7 @@ if os.name == 'nt':
|
2019-11-12 16:43:17 +00:00
|
|
|
else: # PROGRAMDATA is not defined by default on XP.
|
|
|
|
SYSTEM_CONFIG_PATH = []
|
|
|
|
else:
|
|
|
|
- SYSTEM_CONFIG_PATH = [
|
|
|
|
- "/usr/local/etc/jupyter",
|
|
|
|
- "/etc/jupyter",
|
|
|
|
- ]
|
Accepting request 868748 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to 4.7.1
* Allow creating user to delete secure file
- Changelog for 4.7.0
* Add a new JUPYTER_PREFER_ENV_PATH variable, which can be set
to switch the order of the environment-level path and the
user-level path in the Jupyter path hierarchy (e.g., jupyter
--paths). It is considered set if it is a value that is not
one of 'no', 'n', 'off', 'false', '0', or '0.0' (case
insensitive). If you are running Jupyter in multiple virtual
environments as the same user, you will likely want to set
this environment variable.
* Drop Python 2.x and 3.5 support, as they have reached end of
life.
* jupyter --paths --debug now explains the environment
variables that affect the current path list.
* Add conda environment information in jupyter troubleshoot.
* Update _version.version_info and _version.__version__ to
follow Python conventions.
- merge jupyter package as capability into the primary python
package
- fix replacement of paths:
* fix noop introduced by overeager specfile-cleaner for system
paths, adjust use_rpm_paths.patch
* don't replace ENV_CONFIG_PATH or ENV_JUPYTER_PATH because that
would break virtual environments. See also
gh#jupyter/jupyter_core#208
OBS-URL: https://build.opensuse.org/request/show/868748
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-core?expand=0&rev=12
2021-02-03 12:33:57 +00:00
|
|
|
+ SYSTEM_CONFIG_PATH = ["_sysconfdir_jupyter_"]
|
2019-11-12 16:43:17 +00:00
|
|
|
|
|
|
|
ENV_CONFIG_PATH = [os.path.join(sys.prefix, 'etc', 'jupyter')]
|
|
|
|
|