Skip to content

Commit

Permalink
removed conda extensions
Browse files Browse the repository at this point in the history
The Anaconda Notebook extensions caused too many issues and most HPC
centers that installed this app disabled them.
  • Loading branch information
Jeremy Nicklas committed Mar 13, 2018
1 parent d1dd645 commit 94d29b4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 25 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
- Fix job not ending if forked processes still running.

### Removed
- Removed support for Anaconda Notebook extensions.

## [1.0.1] - 2018-01-03
### Changed
- Updated date in `LICENSE.txt`.
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ OnDemand node):

**Optional** software:

- [Anaconda](https://www.continuum.io/anaconda-overview) 4.3.13+ and its
[Jupyter Notebook extensions](https://docs.continuum.io/anaconda/user-guide/tasks/use-jupyter-notebook-extensions)
that allow users to define custom environment-based kernels from within the
Jupyter notebook dashboard.
- [Lmod](https://www.tacc.utexas.edu/research-development/tacc-projects/lmod)
6.0.1+ or any other `module purge` and `module load <modules>` based CLI
used to load appropriate environments within the batch job before launching
Expand Down
13 changes: 0 additions & 13 deletions form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,6 @@ attributes:
# modules: "python/3.5 cuda/8.0.44"
modules: "python"

# Whether Conda extensions will be available within the Jupyter notebook
# server
#
# @note Allows the user to use conda environment-based kernels from their
# Jupyter notebook dashboard
# @example Do NOT allow Conda extensions to be used
# conda_extensions: "0"
# @example Do allow Conda extensions to be used
# conda_extensions: "1"
# @see https://docs.continuum.io/anaconda/user-guide/tasks/use-jupyter-notebook-extensions
conda_extensions: "1"

# Any extra command line arguments to feed to the `jupyter notebook ...`
# command that launches the Jupyter notebook within the batch job
extra_jupyter_args: ""
Expand All @@ -54,7 +42,6 @@ attributes:
# Dashboard
form:
- modules
- conda_extensions
- extra_jupyter_args
- bc_account
- bc_queue
Expand Down
8 changes: 0 additions & 8 deletions template/before.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,5 @@ c.NotebookApp.open_browser = False
c.NotebookApp.allow_origin = '*'
c.NotebookApp.notebook_dir = '${HOME}'
c.NotebookApp.disable_check_xsrf = True
<%- if context.conda_extensions == "1" -%>
c.NotebookApp.kernel_spec_manager_class = "nb_conda_kernels.CondaKernelSpecManager"
c.NotebookApp.nbserver_extensions = {
"nb_conda": True,
"nb_anacondacloud": True,
"nbpresent": True
}
<%- end -%>
EOL
)

0 comments on commit 94d29b4

Please sign in to comment.