Skip to content

Commit a244d37

Browse files
committed
chore: added consistent __version__ and rcs deps bump
1 parent aad7a48 commit a244d37

File tree

10 files changed

+39
-8
lines changed

10 files changed

+39
-8
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from rcs_fr3 import desk, envs
2-
from rcs_fr3._core import hw
2+
from rcs_fr3._core import hw, __version__
33

44
__all__ = [
55
"desk",
66
"hw",
77
"envs",
8+
"__version__",
89
]
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from rcs_panda import envs
2-
from rcs_panda._core import hw
2+
from rcs_panda._core import hw, __version__
33

44
__all__ = [
55
"hw",
66
"envs",
7+
"__version__",
78
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.5.2"
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
from rcs_robotics_library._core import rl
1+
from rcs_robotics_library._core import rl, __version__
22

33
__all__ = [
44
"rl",
5+
"__version__",
56
]
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from rcs_so101._core.so101_ik import SO101IK
22

3-
from .creators import RCSSO101EnvCreator
4-
from .hw import SO101, SO101Config, SO101Gripper
3+
from rcs_so101._core import SO101IK, __version__
54

6-
__all__ = ["SO101IK", "RCSSO101EnvCreator", "SO101", "SO101Config", "SO101Gripper"]
5+
from rcs_so101.creators import RCSSO101EnvCreator
6+
from rcs_so101.hw import SO101, SO101Config, SO101Gripper
7+
8+
__all__ = ["SO101IK", "RCSSO101EnvCreator", "SO101", "SO101Config", "SO101Gripper", "__version__"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.5.2"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.5.2"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.5.2"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.5.2"

pyproject.toml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,20 +155,41 @@ version_files = [
155155
"CMakeLists.txt:VERSION",
156156
"python/rcs/_core/__init__.pyi:__version__",
157157

158+
# --- FR3 Extension ---
158159
"extensions/rcs_fr3/CMakeLists.txt:VERSION",
159160
"extensions/rcs_fr3/src/rcs_fr3/_core/__init__.pyi:__version__",
160-
"extensions/rcs_fr3/pyproject.toml:version",
161+
"extensions/rcs_fr3/pyproject.toml:version",
162+
# The line below updates the dependency string "rcs>=x.y.z"
163+
"extensions/rcs_fr3/pyproject.toml:\"rcs>=(.*)\"",
161164

165+
# --- Panda Extension ---
162166
"extensions/rcs_panda/CMakeLists.txt:VERSION",
163167
"extensions/rcs_panda/src/rcs_fr3/_core/__init__.pyi:__version__",
164168
"extensions/rcs_panda/pyproject.toml:version",
169+
"extensions/rcs_panda/pyproject.toml:\"rcs>=(.*)\"",
165170

171+
# --- Robotics Library ---
166172
"extensions/rcs_robotics_library/CMakeLists.txt:VERSION",
167173
"extensions/rcs_robotics_library/src/rcs_robotics_library/_core/__init__.pyi:__version__",
168174
"extensions/rcs_robotics_library/pyproject.toml:version",
175+
"extensions/rcs_robotics_library/pyproject.toml:\"rcs>=(.*)\"",
169176

170-
"extensions/rcs_realsense/pyproject.toml:version",
177+
# --- SO101 ---
178+
"extensions/rcs_so101/CMakeLists.txt:VERSION",
179+
"extensions/rcs_so101/src/rcs_so101/_core/__init__.pyi:__version__",
171180
"extensions/rcs_so101/pyproject.toml:version",
181+
"extensions/rcs_so101/pyproject.toml:\"rcs>=(.*)\"",
182+
183+
# --- Other Extensions ---
184+
"extensions/rcs_realsense/pyproject.toml:version",
185+
"extensions/rcs_realsense/src/rcs_realsense/__init__.py:__version__",
186+
"extensions/rcs_realsense/pyproject.toml:\"rcs>=(.*)\"",
187+
172188
"extensions/rcs_xarm7/pyproject.toml:version",
189+
"extensions/rcs_xarm7/src/rcs_xarm7/__init__.py:__version__",
190+
"extensions/rcs_xarm7/pyproject.toml:\"rcs>=(.*)\"",
191+
173192
"extensions/rcs_ur5e/pyproject.toml:version",
193+
"extensions/rcs_ur5e/src/rcs_ur5e/__init__.py:__version__",
194+
"extensions/rcs_ur5e/pyproject.toml:\"rcs>=(.*)\"",
174195
]

0 commit comments

Comments
 (0)