Skip to content

Commit a498d7d

Browse files
authored
Merge pull request #222 from robotpy/2026-dev
Update for 2026, migrate to hatchling
2 parents 2c535d4 + a321bd8 commit a498d7d

File tree

5 files changed

+49
-40
lines changed

5 files changed

+49
-40
lines changed

.github/workflows/dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
ci:
14-
uses: robotpy/build-actions/.github/workflows/package-pure.yml@v2025
14+
uses: robotpy/build-actions/.github/workflows/package-pure.yml@v2026
1515
secrets:
1616
META_REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
1717
PYPI_API_TOKEN: ${{ secrets.PYPI_PASSWORD }}

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is intended for use on readthedocs
2-
sphinx-autodoc-typehints
2+
sphinx-autodoc-typehints<3.6
33
sphinx-rtd-theme
44
robotpy-sphinx-plugin
55
-e .

pyproject.toml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
[build-system]
2+
requires = ["hatchling", "hatch-vcs"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "robotpy-wpilib-utilities"
7+
dynamic = ["version"]
8+
description = "Useful utility functions/objects for RobotPy"
9+
readme = "README.rst"
10+
requires-python = ">=3.10"
11+
license = {file = "LICENSE"}
12+
classifiers = [
13+
"Development Status :: 5 - Production/Stable",
14+
"Intended Audience :: Developers",
15+
"License :: OSI Approved :: BSD License",
16+
"Programming Language :: Python :: 3 :: Only",
17+
"Topic :: Software Development",
18+
"Topic :: Scientific/Engineering"
19+
]
20+
dependencies = [
21+
"wpilib>=2026.1.1b1,<2027",
22+
]
23+
24+
[[project.authors]]
25+
name = "RobotPy Development Team"
26+
27+
28+
[project.urls]
29+
"Source code" = "https://github.com/robotpy/robotpy-wpilib-utilities"
30+
31+
[tool.hatch.build.targets.sdist]
32+
exclude = [
33+
".github",
34+
".readthedocs.yml",
35+
"docs",
36+
"devtools",
37+
"tests",
38+
]
39+
40+
[tool.hatch.build.targets.wheel]
41+
packages = ["magicbot", "robotpy_ext"]
42+
43+
[tool.hatch.version]
44+
source = "vcs"
45+
46+
[tool.hatch.build.targets.sdist.hooks.vcs]
47+
version-file = "robotpy_ext/version.py"

setup.cfg

Lines changed: 0 additions & 33 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)