Skip to content

Commit

Permalink
Use packaging
Browse files Browse the repository at this point in the history
Co-authored-by: jakirkham <jakirkham@gmail.com>
  • Loading branch information
hcho3 and jakirkham committed Aug 27, 2024
1 parent 5281fcb commit 75db859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python-package/hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import Any, Dict

from hatchling.builders.hooks.plugin.interface import BuildHookInterface
from pip._vendor.packaging.tags import platform_tags
from packaging.tags import platform_tags


def get_tag() -> str:
Expand Down
2 changes: 1 addition & 1 deletion python-package/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"hatchling>=1.12.1",
"pip>=22.0",
"packaging>=21.3",
]
backend-path = ["."]
build-backend = "packager.pep517"
Expand Down

0 comments on commit 75db859

Please sign in to comment.