Skip to content

Commit

Permalink
removed hatch-fancy-pypi-readme to fix PyPi release failure
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpeckham committed Feb 3, 2024
1 parent 7515136 commit dfaee80
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 133 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
run: |
pip install hatch
pip install hatch-vcs
pip install hatch-fancy-pypi-readme
- name: Lint code
run: hatch run lint:style

Expand All @@ -35,7 +34,6 @@ jobs:
run: |
pip install hatch
pip install hatch-vcs
pip install hatch-fancy-pypi-readme
- name: Lint typing
run: hatch run lint:typing

Expand All @@ -54,6 +52,5 @@ jobs:
run: |
pip install hatch
pip install hatch-vcs
pip install hatch-fancy-pypi-readme
- name: Test
run: hatch run cov-test
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
python -m pip install --upgrade pip
pip install hatch
pip install hatch-vcs
pip install hatch-fancy-pypi-readme
- name: Build and publish
run: |
hatch build
Expand Down
121 changes: 0 additions & 121 deletions README.rst

This file was deleted.

9 changes: 1 addition & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -115,10 +115,3 @@ line_length = 100

[tool.doc8]
max-line-length = 100

[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/x-rst"

[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
path = "README.rst"
start-after = ".. teaser-begin"

0 comments on commit dfaee80

Please sign in to comment.