diff --git a/pyproject.toml b/pyproject.toml index 57259d73..2551c5d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,11 +52,14 @@ dev = [ [tool.hatch.version] path = "src/github3/__about__.py" +[tool.hatch.build.targets.sdist] +strict-naming = false + [tool.hatch.build.targets.wheel] packages = [ "src/github3", ] - +strict-naming = false [project.urls] Documentation = "https://github3.readthedocs.io" diff --git a/tox.ini b/tox.ini index f937253f..bfc3b5e7 100644 --- a/tox.ini +++ b/tox.ini @@ -19,11 +19,11 @@ commands = flake8 {posargs} src/github3/ tests/unit/ tests/integration/ [testenv:build] skip_install = true -basepython = python3.10 +basepython = python3.11 deps = build commands = - python -m build + python -mbuild -s [testenv:black] pip_pre = true @@ -98,7 +98,7 @@ deps = . commands = sphinx-build -E -W -c docs/source/ -b html docs/source/ docs/build/html - python -m build + python -mbuild -s twine check --strict dist/* [pytest]