diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 34ecb0dbf..223df548b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,6 +15,9 @@ jobs: - name: Checkout github repo uses: actions/checkout@v2 + - name: Install pandoc + run: sudo apt-get install pandoc + - name: Install poetry run: pipx install poetry diff --git a/MAINTAINER.md b/MAINTAINER.md index 5e14a5403..055877baf 100644 --- a/MAINTAINER.md +++ b/MAINTAINER.md @@ -77,7 +77,7 @@ git add pyproject.toml git commit -m "Bump version" # 6. Pushed release branch to remote repository -git push origin release/$RELEASE +git push --set-upstream origin release/$RELEASE # 7. Open a "pull request" in GitHub for team to verify the release @@ -91,7 +91,7 @@ git pull origin main git merge release/$RELEASE # 11. Tagged the release point by creating a new tag -git tag -a $RELEASE -m \'Create release tag $RELEASE\' +git tag -a $RELEASE -m "Create release tag $RELEASE" # 12. Pushed main branch to remote repository git push origin main diff --git a/poetry.lock b/poetry.lock index 942bafa83..6578b4e7c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -89,7 +89,7 @@ test_all = ["coverage", "ipython (>=4.2)", "objgraph", "pytest (>=7.0)", "pytest name = "atomicwrites" version = "1.4.1" description = "Atomic file writes." -category = "main" +category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" @@ -97,7 +97,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" name = "attrs" version = "22.1.0" description = "Classes Without Boilerplate" -category = "main" +category = "dev" optional = false python-versions = ">=3.5" @@ -312,7 +312,7 @@ python-versions = ">=3.6" name = "fastjsonschema" version = "2.16.1" description = "Fastest Python implementation of JSON schema" -category = "main" +category = "dev" optional = false python-versions = "*" @@ -493,7 +493,7 @@ testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pep517", name = "importlib-resources" version = "5.9.0" description = "Read resources from Python packages" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -508,7 +508,7 @@ testing = ["pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", name = "iniconfig" version = "1.1.1" description = "iniconfig: brain-dead simple config-ini parsing" -category = "main" +category = "dev" optional = false python-versions = "*" @@ -642,7 +642,7 @@ i18n = ["Babel (>=2.7)"] name = "jsonschema" version = "4.15.0" description = "An implementation of JSON Schema validation for Python" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -713,6 +713,49 @@ pygments = "*" [package.extras] test = ["pexpect"] +[[package]] +name = "jupyter-contrib-core" +version = "0.4.0" +description = "Common utilities for jupyter-contrib projects." +category = "dev" +optional = false +python-versions = "*" + +[package.dependencies] +jupyter-core = "*" +notebook = ">=4.0" +setuptools = "*" +tornado = "*" +traitlets = "*" + +[package.extras] +testing_utils = ["mock", "nose"] + +[[package]] +name = "jupyter-contrib-nbextensions" +version = "0.5.1" +description = "A collection of Jupyter nbextensions." +category = "dev" +optional = false +python-versions = "*" + +[package.dependencies] +ipython-genutils = "*" +jupyter-contrib-core = ">=0.3.3" +jupyter-core = "*" +jupyter-highlight-selected-word = ">=0.1.1" +jupyter-latex-envs = ">=1.3.8" +jupyter-nbextensions-configurator = ">=0.4.0" +lxml = "*" +nbconvert = ">=4.2" +notebook = ">=4.0" +pyyaml = "*" +tornado = "*" +traitlets = ">=4.1" + +[package.extras] +test = ["mock", "nbformat", "nose", "pip", "requests"] + [[package]] name = "jupyter-core" version = "4.11.1" @@ -728,6 +771,48 @@ traitlets = "*" [package.extras] test = ["ipykernel", "pre-commit", "pytest", "pytest-cov", "pytest-timeout"] +[[package]] +name = "jupyter_highlight_selected_word" +version = "0.2.0" +description = "Jupyter notebook extension that enables highlighting every instance of the current word in the notebook." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "jupyter_latex_envs" +version = "1.4.6" +description = "Jupyter notebook extension which supports (some) LaTeX environments within markdown cells. Also provides support for labels and crossreferences, document wide numbering, bibliography, and more..." +category = "dev" +optional = false +python-versions = "*" + +[package.dependencies] +ipython = "*" +jupyter_core = "*" +nbconvert = "*" +notebook = ">=4.0" +traitlets = ">=4.1" + +[[package]] +name = "jupyter-nbextensions-configurator" +version = "0.5.0" +description = "jupyter serverextension providing configuration interfaces for nbextensions." +category = "dev" +optional = false +python-versions = "*" + +[package.dependencies] +jupyter-contrib-core = ">=0.3.3" +jupyter-core = "*" +notebook = ">=6.0" +pyyaml = "*" +tornado = "*" +traitlets = "*" + +[package.extras] +test = ["jupyter-contrib-core[testing_utils]", "mock", "nose", "requests", "selenium"] + [[package]] name = "jupyter-sphinx" version = "0.4.0" @@ -863,7 +948,7 @@ python-versions = "*" name = "nbclient" version = "0.6.7" description = "A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor." -category = "main" +category = "dev" optional = false python-versions = ">=3.7.0" @@ -917,7 +1002,7 @@ webpdf = ["pyppeteer (>=1,<1.1)"] name = "nbformat" version = "5.4.0" description = "The Jupyter Notebook format" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -934,7 +1019,7 @@ test = ["check-manifest", "pre-commit", "pytest", "testpath"] name = "nbmake" version = "1.3.4" description = "Pytest plugin for testing notebooks" -category = "main" +category = "dev" optional = false python-versions = ">=3.7.0,<4.0.0" @@ -1151,7 +1236,7 @@ tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "pa name = "pkgutil_resolve_name" version = "1.3.10" description = "Resolve a name to an object." -category = "main" +category = "dev" optional = false python-versions = ">=3.6" @@ -1171,7 +1256,7 @@ test = ["appdirs (==1.4.4)", "pytest (>=6)", "pytest-cov (>=2.7)", "pytest-mock name = "pluggy" version = "1.0.0" description = "plugin and hook calling mechanisms for python" -category = "main" +category = "dev" optional = false python-versions = ">=3.6" @@ -1279,7 +1364,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" name = "pydantic" version = "1.10.1" description = "Data validation and settings management using python type hints" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -1353,7 +1438,7 @@ diagrams = ["jinja2", "railroad-diagrams"] name = "pyrsistent" version = "0.18.1" description = "Persistent/Functional/Immutable data structures" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -1361,7 +1446,7 @@ python-versions = ">=3.7" name = "pytest" version = "7.1.2" description = "pytest: simple powerful testing with Python" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -1953,7 +2038,7 @@ testing = ["func-timeout", "jaraco.itertools", "pytest (>=6)", "pytest-black (>= [metadata] lock-version = "1.1" python-versions = ">= 3.7.1, < 3.10.0" -content-hash = "1d288817e543eaa33210d48b91bcbc4b0a0ed07671b2118ec87ec41b2d735805" +content-hash = "21333cc6ce3965bbcdede03cf597e063611ab30d771a1fe4e4c389293bf10cd3" [metadata.files] alabaster = [ @@ -2384,10 +2469,29 @@ jupyter-console = [ {file = "jupyter_console-6.4.4-py3-none-any.whl", hash = "sha256:756df7f4f60c986e7bc0172e4493d3830a7e6e75c08750bbe59c0a5403ad6dee"}, {file = "jupyter_console-6.4.4.tar.gz", hash = "sha256:172f5335e31d600df61613a97b7f0352f2c8250bbd1092ef2d658f77249f89fb"}, ] +jupyter-contrib-core = [ + {file = "jupyter_contrib_core-0.4.0-py2.py3-none-any.whl", hash = "sha256:5e77cdff5c73f5ff76b3713c459f928c0dff45eee53ee8c2fe3f26490f4d4270"}, + {file = "jupyter_contrib_core-0.4.0.tar.gz", hash = "sha256:ad995f5754188ab41ea5f94d69c9a1f96ba50543274d798d9001f937f730d326"}, +] +jupyter-contrib-nbextensions = [ + {file = "jupyter_contrib_nbextensions-0.5.1-py2.py3-none-any.whl", hash = "sha256:2c071f0aa208c569666f656bdc0f66906ca493cf9f06f46db6350db11030ff40"}, + {file = "jupyter_contrib_nbextensions-0.5.1.tar.gz", hash = "sha256:eecd28ecc2fc410226c0a3d4932ed2fac4860ccf8d9e9b1b29548835a35b22ab"}, +] jupyter-core = [ {file = "jupyter_core-4.11.1-py3-none-any.whl", hash = "sha256:715e22bb6cc7db3718fddfac1f69f1c7e899ca00e42bdfd4bf3705452b9fd84a"}, {file = "jupyter_core-4.11.1.tar.gz", hash = "sha256:2e5f244d44894c4154d06aeae3419dd7f1b0ef4494dc5584929b398c61cfd314"}, ] +jupyter_highlight_selected_word = [ + {file = "jupyter_highlight_selected_word-0.2.0-py2.py3-none-any.whl", hash = "sha256:9545dfa9cb057eebe3a5795604dcd3a5294ea18637e553f61a0b67c1b5903c58"}, + {file = "jupyter_highlight_selected_word-0.2.0.tar.gz", hash = "sha256:9fa740424859a807950ca08d2bfd28a35154cd32dd6d50ac4e0950022adc0e7b"}, +] +jupyter_latex_envs = [ + {file = "jupyter_latex_envs-1.4.6.tar.gz", hash = "sha256:070a31eb2dc488bba983915879a7c2939247bf5c3b669b398bdb36a9b5343872"}, +] +jupyter-nbextensions-configurator = [ + {file = "jupyter_nbextensions_configurator-0.5.0-py2.py3-none-any.whl", hash = "sha256:0be87b9d828673f691120a026327e0ff4fa7f1602dc94b00b3b9e48d52391e84"}, + {file = "jupyter_nbextensions_configurator-0.5.0.tar.gz", hash = "sha256:bdc312c6baed70f6f35b464fa0bca850a266062c486af3e0ff601079e3238ceb"}, +] jupyter-sphinx = [ {file = "jupyter_sphinx-0.4.0-py3-none-any.whl", hash = "sha256:32ad3c32900bb5cc4db300ed54c3798f2264bd2d9a8cb7c04c01b6004f063da1"}, {file = "jupyter_sphinx-0.4.0.tar.gz", hash = "sha256:0c11a38f1343138f2c5051c0d34c4c545f4480174c1bd41c0256fe826e0baa55"}, diff --git a/pyproject.toml b/pyproject.toml index 9a166d415..8f01f4d72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,6 @@ galcheat = ">=1.0.0" galsim = ">=2.3.5" ipywidgets = ">=7.6.5" matplotlib = ">=3.5.1" -nbmake = "^1.3.4" numpy = [{version = ">=1.16.5,<1.22.0", python = "~3.7.1"}, {version = ">=1.22", python = ">=3.8"}] pandas = [{version = "~1.3.5", python = "~3.7.1"}, {version = ">=1.4.2", python = ">=3.8"}] python = ">= 3.7.1, < 3.10.0" @@ -50,8 +49,10 @@ flake8 = ">=4.0.1" flake8-absolute-import = ">=1.0" isort = ">=5.10.1" jupyter = "^1.0.0" +jupyter-contrib-nbextensions = "^0.5.1" jupyter-sphinx = ">=0.3.2" nbconvert = "^7.0.0" +nbmake = "^1.3.4" nbstripout = ">=0.5.0" pre-commit = ">=2.18.1" pydocstyle = ">=5.1.1"