diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f90c578..d351b20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,10 @@ jobs: needs: test steps: - name: Checkout code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install uv - uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1 + uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 - name: Set up Python run: uv python install 3.13 @@ -61,7 +61,7 @@ jobs: password: ${{ secrets.PYPI_API_TOKEN }} - name: Upload build artifacts - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: name: dist path: dist/ @@ -71,7 +71,7 @@ jobs: needs: build_package steps: - name: Download build artifacts - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0 with: name: dist path: dist/ @@ -89,10 +89,10 @@ jobs: needs: build_package steps: - name: Checkout code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install uv - uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1 + uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 - name: Set up Python run: uv python install 3.13 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57708ad..31d9838 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,10 +18,10 @@ jobs: name: Python ${{ matrix.python-version }} steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install uv - uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1 + uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 - name: Set up Python run: uv python install ${{ matrix.python-version }} @@ -35,10 +35,10 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install uv - uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1 + uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 - name: Set up Python run: uv python install 3.13 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2fbf757..7cc9a7e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: docformatter args: [--in-place, --black] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.2 + rev: v0.15.5 hooks: - id: ruff-format - id: ruff-check @@ -28,7 +28,7 @@ repos: types: [python] pass_filenames: false - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 + rev: v2.4.2 hooks: - id: codespell additional_dependencies: ['.[toml]'] diff --git a/README.md b/README.md index 0245b05..50fff23 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,6 @@ A [Briefcase](https://briefcase.readthedocs.io/) publication channel plugin for deploying static web apps to [PythonAnywhere](https://www.pythonanywhere.com/). -> **Note:** This package depends on the publication channels feature in Briefcase, which has not been included in a release yet. Until it is released, install Briefcase from main: -> ``` -> pip install git+https://github.com/beeware/briefcase@main -> ``` - ## Prerequisites * A PythonAnywhere account diff --git a/docs/index.md b/docs/index.md index b50b820..6d12468 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,14 +2,6 @@ A [Briefcase](https://briefcase.readthedocs.io/) publication channel plugin that deploys static web apps to [PythonAnywhere](https://www.pythonanywhere.com/). -/// warning -This package depends on the publication channels feature in Briefcase, which has not been included in a release yet. Until it is released, install Briefcase from main: - -``` -pip install git+https://github.com/beeware/briefcase@main -``` -/// - There is a [tutorial](tutorial.md) that builds on top of the [BeeWare Tutorial](https://tutorial.beeware.org/) and walks you through deploying your first app to PythonAnywhere. ## Prerequisites diff --git a/pyproject.toml b/pyproject.toml index fe48663..0d5d626 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pythonanywhere-briefcase-plugin" -version = "0.0.1a4" +version = "0.0.2" description = "A Briefcase publication channel plugin for deploying static web apps to PythonAnywhere." requires-python = ">= 3.10" readme = "README.md" @@ -23,6 +23,7 @@ classifiers = [ "Topic :: Software Development", ] dependencies = [ + "briefcase >= 0.4.1", "pythonanywhere-core >= 0.3.0", ] @@ -31,7 +32,7 @@ Documentation = "https://briefcase.pythonanywhere.com/" Repository = "https://github.com/pythonanywhere/pythonanywhere-briefcase-plugin" [build-system] -requires = ["uv_build >= 0.7.2, < 0.8"] +requires = ["uv_build >=0.10.7, <0.11"] build-backend = "uv_build" [dependency-groups] @@ -43,7 +44,6 @@ test = [ ] dev = [ {include-group = "test"}, - "briefcase @ git+https://github.com/beeware/briefcase@fca2cab707794f169b61fe2641d31af262bc5566", "ruff >= 0.11", ] diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..20f49f3 --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "github>anaconda/renovate-config" + ] +} diff --git a/src/pythonanywhere_briefcase_plugin/__init__.py b/src/pythonanywhere_briefcase_plugin/__init__.py index 7339817..3588565 100644 --- a/src/pythonanywhere_briefcase_plugin/__init__.py +++ b/src/pythonanywhere_briefcase_plugin/__init__.py @@ -1,4 +1,4 @@ from pythonanywhere_briefcase_plugin.channel import PythonAnywherePublicationChannel -__version__ = "0.0.1a4" +__version__ = "0.0.2" __all__ = ["PythonAnywherePublicationChannel"] diff --git a/uv.lock b/uv.lock index e88ec80..4811732 100644 --- a/uv.lock +++ b/uv.lock @@ -43,9 +43,10 @@ wheels = [ [[package]] name = "briefcase" -version = "0.3.27.dev74+gfca2cab70" -source = { git = "https://github.com/beeware/briefcase?rev=fca2cab707794f169b61fe2641d31af262bc5566#fca2cab707794f169b61fe2641d31af262bc5566" } +version = "0.4.1" +source = { registry = "https://pypi.org/simple" } dependencies = [ + { name = "binaryornot" }, { name = "build" }, { name = "chardet" }, { name = "cookiecutter" }, @@ -64,6 +65,10 @@ dependencies = [ { name = "truststore" }, { name = "wheel" }, ] +sdist = { url = "https://files.pythonhosted.org/packages/fe/ae/59bc57a89a19a736aec626a39399fcdd59da49c9b6a09a9f02c57c0cca6c/briefcase-0.4.1.tar.gz", hash = "sha256:8064649697a3eb50f700109e7baea1c735a38e610fca1e6df499abebd610cb0a", size = 2629267, upload-time = "2026-03-09T04:31:47.808Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/85/c5/acce3f462a48c736dede5c2d0f119ca28633a915a6b8585f6a69dc50fb11/briefcase-0.4.1-py3-none-any.whl", hash = "sha256:e302b088cc0c3c3bb73f9e200f60c82bbc5a820970a74a8f2d9cabc62c8d6540", size = 270442, upload-time = "2026-03-09T04:31:44.459Z" }, +] [[package]] name = "build" @@ -753,15 +758,15 @@ wheels = [ [[package]] name = "pythonanywhere-briefcase-plugin" -version = "0.0.1a4" +version = "0.0.2" source = { editable = "." } dependencies = [ + { name = "briefcase" }, { name = "pythonanywhere-core" }, ] [package.dev-dependencies] dev = [ - { name = "briefcase" }, { name = "pytest" }, { name = "pytest-cov" }, { name = "pytest-mock" }, @@ -776,11 +781,13 @@ test = [ ] [package.metadata] -requires-dist = [{ name = "pythonanywhere-core", specifier = ">=0.3.0" }] +requires-dist = [ + { name = "briefcase", specifier = ">=0.4.1" }, + { name = "pythonanywhere-core", specifier = ">=0.3.0" }, +] [package.metadata.requires-dev] dev = [ - { name = "briefcase", git = "https://github.com/beeware/briefcase?rev=fca2cab707794f169b61fe2641d31af262bc5566" }, { name = "pytest", specifier = ">=9.0" }, { name = "pytest-cov", specifier = ">=7.0" }, { name = "pytest-mock", specifier = ">=3.10" },