@@ -3,10 +3,10 @@ build-backend = "hatchling.build"
3
3
requires = [
4
4
" hatchling" ,
5
5
" hatch-vcs" ,
6
- " semiwrap~=0.1" ,
6
+ " semiwrap~=0.1.4 " ,
7
7
" hatch-meson~=0.1.0b2" ,
8
- " hatch-robotpy~=0.2.0 " ,
9
- " wpilib~=2025.3.2.2 " ,
8
+ " hatch-robotpy~=0.2.1 " ,
9
+ " wpilib~=2027.0.0a2 " ,
10
10
]
11
11
12
12
@@ -16,15 +16,15 @@ dynamic = ["version"]
16
16
description = " REVLib for RobotPy"
17
17
license = " BSD-3-Clause"
18
18
dependencies = [
19
- " wpilib~=2025.3.2.2 " ,
19
+ " wpilib~=2027.0.0a2 " ,
20
20
]
21
21
22
22
[[project .authors ]]
23
23
name = " RobotPy Development Team"
24
24
email = " robotpy@googlegroups.com"
25
25
26
26
[project .urls ]
27
- "Source code" = " https://github.com/robotpy/robotpy-ctre "
27
+ "Source code" = " https://github.com/robotpy/robotpy-rev "
28
28
29
29
30
30
[tool .hatch .version ]
@@ -44,15 +44,15 @@ packages = ["rev"]
44
44
artifact_id = " REVLib-cpp"
45
45
group_id = " com.revrobotics.frc"
46
46
repo_url = " https://maven.revrobotics.com"
47
- version = " 2025 .0.3 "
47
+ version = " 2027 .0.0-alpha-1 "
48
48
staticlibs = [" REVLib" ]
49
49
extract_to = " lib"
50
50
51
51
[[tool .hatch .build .hooks .robotpy .maven_lib_download ]]
52
52
artifact_id = " REVLib-driver"
53
53
group_id = " com.revrobotics.frc"
54
54
repo_url = " https://maven.revrobotics.com"
55
- version = " 2025 .0.3 "
55
+ version = " 2027 .0.0-alpha-1 "
56
56
staticlibs = [ " REVLibDriver" ]
57
57
extract_to = " lib"
58
58
@@ -69,6 +69,42 @@ extract_to = "lib"
69
69
70
70
[tool .semiwrap ]
71
71
update_init = [" rev" ]
72
+ scan_headers_ignore = [
73
+ # rev
74
+ " rev/CANCommonParameters.h" ,
75
+ " rev/CANDriverPrivate.h" ,
76
+ " rev/CANServoHubDriver.h" ,
77
+ " rev/CANServoHubFrames.h" ,
78
+ " rev/CANServoHubParameters.h" ,
79
+ " rev/CANSparkDriver.h" ,
80
+ " rev/CANSparkDriverPrivate.h" ,
81
+ " rev/CANSparkFrames.h" ,
82
+ " rev/CANSparkMaxFrames.h" ,
83
+ " rev/CANSparkParameters.h" ,
84
+ " rev/CANSparkSWDL.h" ,
85
+ " rev/REVCommon.h" ,
86
+ " rev/REVLibDaemon.h" ,
87
+ " rev/REVLibErrors.h" ,
88
+ " rev/REVUtils.h" ,
89
+
90
+ " rev/ServoHubLowLevel.h" ,
91
+ " rev/SparkFrameManager.h" ,
92
+
93
+ # rev/config
94
+ " rev/config/ServoHubParameters.h" ,
95
+
96
+ # rev/rev
97
+ " rev/rev/REVLibVersion.h" ,
98
+
99
+ # rev/sim
100
+ " rev/sim/CANServoHub.h" ,
101
+ " rev/sim/CANSpark.h" ,
102
+ " rev/sim/MAXMotion.h" ,
103
+ " rev/sim/SmartCurrentLimit.h" ,
104
+
105
+ # .
106
+ " sparkbaseconfig_apply.h" ,
107
+ ]
72
108
73
109
74
110
[tool .semiwrap .extension_modules ."rev ._rev" ]
@@ -107,14 +143,15 @@ includes = [
107
143
# rev
108
144
AbsoluteEncoder = " rev/AbsoluteEncoder.h"
109
145
AnalogInput = " rev/AnalogInput.h"
110
- # TODO: uncomment when GetFRCDeviceTypeText and GetFRCManufacturerText are
111
- # marked as `static inline`
112
- # CANDeviceScanner = "rev/CANDeviceScanner.h"
113
146
CIEColor = " rev/CIEColor.h"
114
147
ColorMatch = " rev/ColorMatch.h"
115
148
ColorSensorV3 = " rev/ColorSensorV3.h"
116
149
REVLibError = " rev/REVLibError.h"
117
150
RelativeEncoder = " rev/RelativeEncoder.h"
151
+ ServoChannel = " rev/ServoChannel.h"
152
+ ServoHub = " rev/ServoHub.h"
153
+ ServoHubLowLevel = " rev/ServoHubLowLevel.h"
154
+ ServoHubSim = " rev/ServoHubSim.h"
118
155
SparkAbsoluteEncoder = " rev/SparkAbsoluteEncoder.h"
119
156
SparkAnalogSensor = " rev/SparkAnalogSensor.h"
120
157
SparkBase = " rev/SparkBase.h"
@@ -147,6 +184,10 @@ LimitSwitchConfig = "rev/config/LimitSwitchConfig.h"
147
184
LimitSwitchConfigAccessor = " rev/config/LimitSwitchConfigAccessor.h"
148
185
MAXMotionConfig = " rev/config/MAXMotionConfig.h"
149
186
MAXMotionConfigAccessor = " rev/config/MAXMotionConfigAccessor.h"
187
+ ServoChannelConfig = " rev/config/ServoChannelConfig.h"
188
+ ServoChannelConfigAccessor = " rev/config/ServoChannelConfigAccessor.h"
189
+ ServoHubConfig = " rev/config/ServoHubConfig.h"
190
+ ServoHubConfigAccessor = " rev/config/ServoHubConfigAccessor.h"
150
191
SignalsConfig = " rev/config/SignalsConfig.h"
151
192
SignalsConfigAccessor = " rev/config/SignalsConfigAccessor.h"
152
193
SmartMotionConfig = " rev/config/SmartMotionConfig.h"
@@ -164,6 +205,7 @@ SparkParameters = "rev/config/SparkParameters.h"
164
205
# rev/sim
165
206
MovingAverageFilterSim = " rev/sim/MovingAverageFilterSim.h"
166
207
NoiseGenerator = " rev/sim/NoiseGenerator.h"
208
+ ServoHubSimFaultManager = " rev/sim/ServoHubSimFaultManager.h"
167
209
SparkAbsoluteEncoderSim = " rev/sim/SparkAbsoluteEncoderSim.h"
168
210
SparkAnalogSensorSim = " rev/sim/SparkAnalogSensorSim.h"
169
211
SparkExternalEncoderSim = " rev/sim/SparkExternalEncoderSim.h"
0 commit comments