-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor workflows & pyproject for hatch deploy 🚀
- Updated `release-snap.yml` and `test-snap.yml` to use `uv` for installation and deployment. - Modified `release-snap.yml` to include environment setup and permissions. - Converted `pyproject.toml` to utilize `hatch`, replacing `poetry` with `hatchling` as the build system. - Updated dependencies and moved them to the new `dependencies` and `dependency-groups` format.
- Loading branch information
Showing
3 changed files
with
43 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "deciphon-snap" | ||
version = "1.0.3" | ||
description = "Reader for Deciphon snap files." | ||
authors = ["Danilo Horta <[email protected]>"] | ||
license = "MIT" | ||
authors = [{ name = "Danilo Horta", email = "[email protected]" }] | ||
requires-python = "~=3.9" | ||
readme = "README.md" | ||
packages = [{ include = "deciphon_snap" }] | ||
license = "MIT" | ||
dependencies = [ | ||
"fsspec>=2024.9.0", | ||
"h3result>=1.0.1,<2", | ||
"fasta-reader>=3.0.3,<4", | ||
"deciphon-intervals>=1.0.0,<2", | ||
"prettytable~=3.11", | ||
"pydantic~=2.9", | ||
"hmmer-tables>=1.0.1,<2", | ||
] | ||
|
||
[dependency-groups] | ||
dev = ["pytest~=8.2"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
fsspec = ">=2024.9.0" | ||
h3result = "^1.0.1" | ||
fasta-reader = "^3.0.3" | ||
deciphon-intervals = "^1.0.0" | ||
prettytable = "^3.11" | ||
pydantic = "^2.9" | ||
hmmer-tables = "^1.0.1" | ||
[tool.hatch.build.targets.sdist] | ||
include = ["deciphon_snap"] | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "^8.2" | ||
[tool.hatch.build.targets.wheel] | ||
include = ["deciphon_snap"] | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" |