From eb00ad00e41a16d730830d49a53fc65a55e7e8fa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 31 May 2024 11:07:37 +0000 Subject: [PATCH 01/12] Bump mamba-org/setup-micromamba in the github-actions group Bumps the github-actions group with 1 update: [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba). Updates `mamba-org/setup-micromamba` from 1.8.1 to 1.9.0 - [Release notes](https://github.com/mamba-org/setup-micromamba/releases) - [Commits](https://github.com/mamba-org/setup-micromamba/compare/422500192359a097648154e8db4e39bdb6c6eed7...f8b8a1e23a26f60a44c853292711bacfd3eac822) --- updated-dependencies: - dependency-name: mamba-org/setup-micromamba dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5909228..1168389 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 - - uses: mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7 # v1 + - uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1 with: environment-file: environment.yml environment-name: conda-forge-conda-plugins From 5677a0df003c06f813df4d6549d97c8a6c69b869 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:12:06 -0500 Subject: [PATCH 02/12] Create setup.py --- setup.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..6068493 --- /dev/null +++ b/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup() From 978577b4558a11ef4bdb32b3101e663a37086824 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:12:22 -0500 Subject: [PATCH 03/12] Update requirements.dev.txt --- requirements.dev.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.dev.txt b/requirements.dev.txt index 4c1fe06..859153f 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -1,3 +1,4 @@ pytest black ruff +python-build From 89b0c57dab1436c4408140b02e2a0b0a81f7dfbf Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:13:04 -0500 Subject: [PATCH 04/12] Update tests.yml --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1168389..b269204 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,6 +31,7 @@ jobs: - name: configure conda and install code run: | + micromamba install --file requirements.dev.txt pip install --no-deps --no-build-isolation -e . - name: test versions From 9883eaa8770e461db9411e5da1aff62c23526476 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:14:06 -0500 Subject: [PATCH 05/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4d770e..c6a4667 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # conda-forge-conda-plugins - +[![tests](https://github.com/regro/conda-forge-conda-plugins/actions/workflows/tests.yml/badge.svg)](https://github.com/regro/conda-forge-conda-plugins/actions/workflows/tests.yml) conda plugins for the `conda-forge` ecosystem ## Current Plugins From 13ecdca1ad968b9d69c09574d2b4444677028714 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:14:14 -0500 Subject: [PATCH 06/12] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c6a4667..46e26dd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # conda-forge-conda-plugins [![tests](https://github.com/regro/conda-forge-conda-plugins/actions/workflows/tests.yml/badge.svg)](https://github.com/regro/conda-forge-conda-plugins/actions/workflows/tests.yml) + conda plugins for the `conda-forge` ecosystem ## Current Plugins From 3b61e5b954c59e590b9cec4dda8a3a6c052fd09e Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:16:26 -0500 Subject: [PATCH 07/12] Update requirements.dev.txt --- requirements.dev.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.dev.txt b/requirements.dev.txt index 859153f..16c9c2e 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -2,3 +2,4 @@ pytest black ruff python-build +setuptools_scm>=8 From 2e7f98a585776a898d99a3ab5bf6182a729d2bf7 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:18:37 -0500 Subject: [PATCH 08/12] Update test_placeholder.py --- tests/test_placeholder.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_placeholder.py b/tests/test_placeholder.py index 0443420..e02870c 100644 --- a/tests/test_placeholder.py +++ b/tests/test_placeholder.py @@ -1,4 +1,2 @@ - - def test_placeholder(): assert 1 + 1 == 2 From bf95d672c390ed476f7162844d6409b67e7e1591 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 31 May 2024 11:19:01 +0000 Subject: [PATCH 09/12] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- conda_forge_conda_plugins/hooks.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/conda_forge_conda_plugins/hooks.py b/conda_forge_conda_plugins/hooks.py index 241778f..8313151 100644 --- a/conda_forge_conda_plugins/hooks.py +++ b/conda_forge_conda_plugins/hooks.py @@ -1,4 +1,4 @@ -from conda.plugins import hookimpl, CondaSubcommand +from conda.plugins import CondaSubcommand, hookimpl @hookimpl @@ -7,7 +7,5 @@ def hello_conda(args): print("Hello conda!") yield CondaSubcommand( - name="hello", - action=hello_conda, - summary="Command that prints \"Hello conda!\"" + name="hello", action=hello_conda, summary='Command that prints "Hello conda!"' ) From 88a0a3e38520b5e76fe9ab7c34be82b4566dc357 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:21:41 -0500 Subject: [PATCH 10/12] DOC add pre-commit badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46e26dd..1b91715 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # conda-forge-conda-plugins -[![tests](https://github.com/regro/conda-forge-conda-plugins/actions/workflows/tests.yml/badge.svg)](https://github.com/regro/conda-forge-conda-plugins/actions/workflows/tests.yml) +[![tests](https://github.com/regro/conda-forge-conda-plugins/actions/workflows/tests.yml/badge.svg)](https://github.com/regro/conda-forge-conda-plugins/actions/workflows/tests.yml) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/regro/conda-forge-conda-plugins/main.svg)](https://results.pre-commit.ci/latest/github/regro/conda-forge-conda-plugins/main) conda plugins for the `conda-forge` ecosystem From 6527123b0a26f630c1b07e472f71583852442058 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:26:15 -0500 Subject: [PATCH 11/12] PROD only use env.yml (#3) * PROD only use env.yml * Delete requirements.dev.txt * Update tests.yml * Update environment.yml --- .github/workflows/tests.yml | 1 - environment.yml | 7 +++++++ requirements.dev.txt | 5 ----- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 requirements.dev.txt diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b269204..1168389 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,7 +31,6 @@ jobs: - name: configure conda and install code run: | - micromamba install --file requirements.dev.txt pip install --no-deps --no-build-isolation -e . - name: test versions diff --git a/environment.yml b/environment.yml index 1f61650..bbc591d 100644 --- a/environment.yml +++ b/environment.yml @@ -4,3 +4,10 @@ channels: dependencies: - python>=3.8 - conda + # dev deps + - black + - ruff + - pytest + - python-build + - setuptools + - setuptools_scm>=8 diff --git a/requirements.dev.txt b/requirements.dev.txt deleted file mode 100644 index 16c9c2e..0000000 --- a/requirements.dev.txt +++ /dev/null @@ -1,5 +0,0 @@ -pytest -black -ruff -python-build -setuptools_scm>=8 From 24633b3bf7a016c48c77bf97e699dbaa284db43b Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 31 May 2024 06:56:56 -0500 Subject: [PATCH 12/12] Delete conda_forge_conda_plugins/_version.py --- conda_forge_conda_plugins/_version.py | 1 - 1 file changed, 1 deletion(-) delete mode 100644 conda_forge_conda_plugins/_version.py diff --git a/conda_forge_conda_plugins/_version.py b/conda_forge_conda_plugins/_version.py deleted file mode 100644 index 4f74b4a..0000000 --- a/conda_forge_conda_plugins/_version.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "0.1.dev3+g9706d43.d20240531"