Skip to content

Commit

Permalink
Temporarily switch to hatchling backend (#148)
Browse files Browse the repository at this point in the history
Closes #147

Temporarily switches to hatch as a backend until
astral-sh/uv#10091 is addressed. setuptools
still has a major bug with metadata upload to PyPI related to licenses
between metadata version 2.3 and 2.4, so it doesn't make sense to go
back to that at all.

The following should now work:

```console
$ git clone https://github.com/biopragmatics/curies
$ cd curies
$ git checkout -b hatch-backend
$ python -m pip install -e .[flask,rdflib]
$ python -m curies mapper --host 0.0.0.0 --port 8764 bioregistry

# then, navigate to http://0.0.0.0:8764/sparql
```
  • Loading branch information
cthoyt authored Dec 22, 2024
1 parent 2f67aeb commit cf45b14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[build-system]
requires = ["uv>=0.5.10,<0.6.0"]
# The uv backend entered preview mode in https://github.com/astral-sh/uv/pull/8886/files
# with the 0.5.0 release. See also https://github.com/astral-sh/uv/issues/3957 for tracking.
build-backend = "uv"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "curies"
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ deps =
skip_install = true
deps =
uv
hatchling
commands =
uv build --sdist --wheel --no-build-isolation

Expand Down

0 comments on commit cf45b14

Please sign in to comment.