From a714aa3d6a5dec4b0e7ccf8b6358777b1b1e37cd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 16:36:47 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.14...v0.15.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0f84fb88..f30375ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: # auto format Python codes within docstrings - id: blacken-docs - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.14 + rev: v0.15.2 hooks: # lint & attempt to correct failures (e.g. pyupgrade) - id: ruff From 4ddf91082127e97b988a638508b66b177bfbcc38 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 16:37:39 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- CONTRIBUTING.md | 2 +- docs/developer/releasing.md | 10 +++++----- docs/developer/testing/mock-channel-server.md | 6 +++--- tests/conda_local_channel/noarch/repodata.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4dd54aa1..674eb733 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,4 +12,4 @@ You'll need a copy of `pixi` and `git` in your machine. Then: 4. `pixi run docs` to build the docs and `pixi run serve` to serve them in your browser. 5. `pixi run lint` to run the pre-commit linters and formatters. -Note: Be sure to include updates to the changelog in your pull request. \ No newline at end of file +Note: Be sure to include updates to the changelog in your pull request. diff --git a/docs/developer/releasing.md b/docs/developer/releasing.md index d13a2b68..923d921c 100644 --- a/docs/developer/releasing.md +++ b/docs/developer/releasing.md @@ -1,7 +1,7 @@ # Releasing conda-pypi -Here are the steps for creating a new conda-pypi release. Before -you start, make sure that you have access to create tags and +Here are the steps for creating a new conda-pypi release. Before +you start, make sure that you have access to create tags and releases on the conda/conda-pypi repo. If you have the ability to merge pull requests, then you are probably good to go. @@ -21,13 +21,13 @@ Click the green `Publish release` button. ### 1.b Ensure the build completed successfully -Navigate to the [actions tab](https://github.com/conda/conda-pypi/actions). +Navigate to the [actions tab](https://github.com/conda/conda-pypi/actions). You should be able to see the `Publish to PyPI` workflow with title matching the release number from earlier. Ensure that this workflow completes successfully. ### 1.c Ensure the package is available on PyPI -Check that the PyPI package has been updated at https://pypi.org/project/conda-pypi/. +Check that the PyPI package has been updated at https://pypi.org/project/conda-pypi/. You should see that version matches the release version and that the wheel is available in the [download files](https://pypi.org/project/conda-pypi/#files) section. @@ -50,7 +50,7 @@ $ python -c "import conda_pypi; print(conda_pypi._version.version)" ## 2. Update the conda-forge/conda-pypi-feedstock -Next we'll need to make sure the newest version is available on +Next we'll need to make sure the newest version is available on conda-forge. This happens on the conda forge repo [conda-pypi-feedstock](https://github.com/conda-forge/conda-pypi-feedstock). There are 2 options here: diff --git a/docs/developer/testing/mock-channel-server.md b/docs/developer/testing/mock-channel-server.md index 83da3346..96f8a630 100644 --- a/docs/developer/testing/mock-channel-server.md +++ b/docs/developer/testing/mock-channel-server.md @@ -49,7 +49,7 @@ def test_with_mock_channel(conda_local_channel): ``` The fixture automatically: -1. Starts an HTTP server on a port automatically +1. Starts an HTTP server on a port automatically 2. Serves the `tests/conda_local_channel/` directory 3. Returns the server URL 4. Cleans up the server after the test completes @@ -118,8 +118,8 @@ you'll need to update the repodata in order to include the new wheels you with to support. This is done by using the `tests/conda_local_channel/generate_noarch_wheel_repodata.py` script. Note, this script is designed for generating test repodata for conda-pypi only. -1. **Update the list of wheels** in tests/conda_local_channel/wheel_packages.txt. -Add your package in the same form as a `requirements.txt` dependency, `==`, +1. **Update the list of wheels** in tests/conda_local_channel/wheel_packages.txt. +Add your package in the same form as a `requirements.txt` dependency, `==`, for example ``` diff --git a/tests/conda_local_channel/noarch/repodata.json b/tests/conda_local_channel/noarch/repodata.json index 8de436ec..16dd861a 100644 --- a/tests/conda_local_channel/noarch/repodata.json +++ b/tests/conda_local_channel/noarch/repodata.json @@ -331,4 +331,4 @@ "noarch": "python" } } -} \ No newline at end of file +}