diff --git a/.gitpod.yml b/.gitpod.yml index 97ac67a3..7add259a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,6 +1,6 @@ tasks: - - init: pyenv local 3.8 - - init: pip install -c .constraints/py3.8.txt -e .[dev] + - init: pyenv local 3.9 + - init: pip install -c .constraints/py3.9.txt -e .[dev] github: prebuilds: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 98fa526d..803535c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/ComPWA/policy - rev: 0.2.0 + rev: 0.2.2 hooks: - id: check-dev-files args: diff --git a/docs/conf.py b/docs/conf.py index 51f2c629..d77150b7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -112,7 +112,7 @@ "icon_links": [ { "name": "Common Partial Wave Analysis", - "url": "https://compwa-org.rtfd.io", + "url": "https://compwa.github.io", "icon": "_static/favicon.ico", "type": "local", }, @@ -162,7 +162,7 @@ "IPython": (f"https://ipython.readthedocs.io/en/{pin('IPython')}", None), "ampform": (f"https://ampform.readthedocs.io/en/{pin('ampform')}", None), "attrs": (f"https://www.attrs.org/en/{pin('attrs')}", None), - "compwa-org": ("https://compwa-org.readthedocs.io", None), + "compwa": ("https://compwa.github.io", None), "graphviz": ("https://graphviz.readthedocs.io/en/stable", None), "ipywidgets": (f"https://ipywidgets.readthedocs.io/en/{pin('ipywidgets')}", None), "jax": ("https://jax.readthedocs.io/en/latest", None), diff --git a/docs/index.md b/docs/index.md index 911eb619..8b1fb26c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -31,7 +31,7 @@ You can substitute `stable` in the above command with `main` or any of the [tags ampform-dpd @ git+https://github.com/ComPWA/ampform-dpd@main ``` -However, we highly recommend using the more dynamic, {ref}`'editable installation' ` instead. This goes as follows: +However, we highly recommend using the more dynamic, {ref}`'editable installation' ` instead. This goes as follows: 1. Get the source code (see [the Pro Git Book](https://git-scm.com/book/en/v2)): @@ -40,15 +40,15 @@ However, we highly recommend using the more dynamic, {ref}`'editable installatio cd ampform-dpd ``` -2. **\[Recommended\]** Create a virtual environment (see {ref}`here ` or the tip below). +2. **\[Recommended\]** Create a virtual environment (see {ref}`here ` or the tip below). -3. Install the project in {ref}`'editable installation' ` with {ref}`additional dependencies ` for the developer: +3. Install the project in {ref}`'editable installation' ` with {ref}`additional dependencies ` for the developer: ```shell python3 -m pip install -e .[dev] ``` -That's all! Have a look at the {doc}`/index` page to try out the package, and see {doc}`compwa-org:develop` for tips on how to work with this 'editable' developer setup! +That's all! Have a look at the {doc}`/index` page to try out the package, and see {doc}`compwa:develop` for tips on how to work with this 'editable' developer setup! :::{tip} @@ -59,7 +59,7 @@ conda env create conda activate ampform-dpd ``` -This way of installing is also safer, because it {ref}`pins all dependencies `. Note you can also pin dependencies with `pip`, by running: +This way of installing is also safer, because it {ref}`pins all dependencies `. Note you can also pin dependencies with `pip`, by running: ```shell python3 -m pip install -e .[dev] -c .constraints/py3.x.txt @@ -196,5 +196,5 @@ QRules AmpForm TensorWaves PWA Pages -ComPWA project +ComPWA project ``` diff --git a/environment.yml b/environment.yml index 17c7d794..ec90afd9 100644 --- a/environment.yml +++ b/environment.yml @@ -3,10 +3,10 @@ channels: - defaults dependencies: - graphviz - - python==3.8.* + - python==3.9.* - pip - pip: - - -c .constraints/py3.8.txt -e .[dev] + - -c .constraints/py3.9.txt -e .[dev] variables: PRETTIER_LEGACY_CLI: "1" PYTHONHASHSEED: 0