Skip to content

Commit

Permalink
httpcore: setuptools -> hatchling in 0.18.0+
Browse files Browse the repository at this point in the history
Note that manually overriding the `buildInputs` actually results in:

```sh
last 10 log lines:
       > Executing pythonRemoveTestsDir
       > Finished executing pythonRemoveTestsDir
       > pythonCatchConflictsPhase
       > /nix/store/q2zpnf017gccs9w9mb0ikdqhkf0k5v82-catch_conflicts.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
       >   import pkg_resources
       > Found duplicated packages in closure for dependency 'hatchling':
       >   hatchling 1.18.0 (/nix/store/zjkajhjjz7wis9yvm3gwvphifx3hiav2-python3.10-hatchling-1.18.0/lib/python3.10/site-packages)
       >   hatchling 1.18.0 (/nix/store/2jy9c8hbk8v0rk45zv8680srs1jky977-python3.10-hatchling-1.18.0/lib/python3.10/site-packages)
       >
       > Package duplicates found in closure, see above. Usually this happens if two packages depend on different version of the same dependency.
```
  • Loading branch information
moonshxne committed Sep 15, 2023
1 parent c3d3c4a commit ebf410e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -7228,7 +7228,18 @@
"setuptools"
],
"httpcore": [
"setuptools"
{
"buildSystem": "hatch-fancy-pypi-readme",
"from": "0.18.0"
},
{
"buildSystem": "hatchling",
"from": "0.18.0"
},
{
"buildSystem": "setuptools",
"until": "0.18.0"
}
],
"httpie": [
"setuptools"
Expand Down

0 comments on commit ebf410e

Please sign in to comment.