From a2d3ec664fb9785870aebe4642e74a1523a2faba Mon Sep 17 00:00:00 2001 From: Christophe Demko Date: Sun, 10 Nov 2024 14:37:08 +0100 Subject: [PATCH] Falling back to hatchling 1.25 --- .github/workflows/python-package.yml | 16 ++++++++++++---- .github/workflows/python-publish.yml | 4 +++- pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 83b7de7..1b278b2 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -23,7 +23,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pipx install hatch hatchling==1.25.0 + run: | + pipx install --preinstall hatchling==1.25.0 hatch + pipx install hatch - name: Install dependencies run: | wget https://github.com/jgm/pandoc/releases/download/${{ matrix.pandoc-version }}/pandoc-${{ matrix.pandoc-version }}-1-amd64.deb @@ -46,7 +48,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pipx install hatch hatchling==1.25.0 + run: | + pipx install --preinstall hatchling==1.25.0 hatch + pipx install hatch - name: Install dependencies run: | wget https://github.com/jgm/pandoc/releases/download/${{ matrix.pandoc-version }}/pandoc-${{ matrix.pandoc-version }}-1-amd64.deb @@ -69,7 +73,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pipx install hatch hatchling==1.25.0 + run: | + pipx install --preinstall hatchling==1.25.0 hatch + pipx install hatch - name: Install dependencies run: | wget https://github.com/jgm/pandoc/releases/download/${{ matrix.pandoc-version }}/pandoc-${{ matrix.pandoc-version }}-1-amd64.deb @@ -95,7 +101,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pipx install hatch hatchling==1.25.0 + run: | + pipx install --preinstall hatchling==1.25.0 hatch + pipx install hatch - name: Install dependencies run: | wget https://github.com/jgm/pandoc/releases/download/${{ matrix.pandoc-version }}/pandoc-${{ matrix.pandoc-version }}-1-amd64.deb diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e11b25f..6d13d0a 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -22,7 +22,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Hatch - run: pipx install hatch hatchling==1.25.0 + run: | + pipx install --preinstall hatchling==1.25.0 hatch + pipx install hatch - name: Build and publish env: HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }} diff --git a/pyproject.toml b/pyproject.toml index f243c38..68fd92b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = "A pandoc filter for adding icons on specific elements" readme = "README.md" requires-python = ">=3.10,<3.14" license = "BSD-3-Clause" -license-files = ["LICENSE"] +license-files = {path = ["LICENSE"]} authors = [{name = "Christophe Demko", email = "chdemko@gmail.com"}] maintainers = [{name = "Christophe Demko", email = "chdemko@gmail.com"}] keywords = ["pandoc", "filters", "latex", "tip", "Font-Awesome", "icon"] diff --git a/uv.lock b/uv.lock index 6b75c4c..8cb2ade 100644 --- a/uv.lock +++ b/uv.lock @@ -85,7 +85,7 @@ wheels = [ [[package]] name = "pandoc-latex-tip" -version = "3.0.0.4.post1.dev7" +version = "3.0.0.4.post1.dev8" source = { editable = "." } dependencies = [ { name = "cleo" },