Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions .conda/base-humble/recipe.yaml

This file was deleted.

105 changes: 56 additions & 49 deletions .conda/base/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,65 +1,72 @@
# unilabos: Production package (depends on unilabos-env + pip unilabos)
# For production deployment

# 默认发行包,不依赖 ROS。
package:
name: unilabos
version: 0.12.2

version: 0.12.3
source:
path: ../../unilabos
target_directory: unilabos

build:
number: 0
string: jazzy_0
string: py312_0
python:
entry_points:
- unilab = unilabos.app.main:main
- unilab = unilabos.app.main:main
script:
- set PIP_NO_INDEX=
- if: win
then:
- copy %RECIPE_DIR%\..\..\MANIFEST.in %SRC_DIR%
- copy %RECIPE_DIR%\..\..\setup.cfg %SRC_DIR%
- copy %RECIPE_DIR%\..\..\setup.py %SRC_DIR%
- pip install %SRC_DIR%
- if: unix
then:
- cp $RECIPE_DIR/../../MANIFEST.in $SRC_DIR
- cp $RECIPE_DIR/../../setup.cfg $SRC_DIR
- cp $RECIPE_DIR/../../setup.py $SRC_DIR
- pip install $SRC_DIR

- if: win
then:
- copy %RECIPE_DIR%\..\..\MANIFEST.in %SRC_DIR%
- copy %RECIPE_DIR%\..\..\setup.py %SRC_DIR%
- copy %RECIPE_DIR%\..\..\pyproject.toml %SRC_DIR%
else:
- cp $RECIPE_DIR/../../MANIFEST.in $SRC_DIR
- cp $RECIPE_DIR/../../setup.py $SRC_DIR
- cp $RECIPE_DIR/../../pyproject.toml $SRC_DIR
- python -m pip install . --no-deps --no-build-isolation
requirements:
host:
- python ==3.12.13
- pip
- setuptools
- zstd
- zstandard
- python ==3.12.13
- pip
- setuptools >=68
- wheel
run:
- python >=3.12,<3.13
- zstd
- zstandard
- networkx
- typing_extensions
- websockets
- pint
- fastapi
- jinja2
- requests
- uvicorn
- if: not osx
then:
- opcua
- pyserial
- pandas
- pymodbus
- matplotlib
- pylibftdi
- unilabos-env ==0.12.2 jazzy_0

- python >=3.12,<3.13
- pip
- setuptools >=68
- packaging >=24
- pyyaml >=6
- pydantic >=2.11,<3
- numpy >=2,<3
- networkx >=3.2
- typing_extensions >=4.12
- websockets >=12
- msgcenterpy ==0.1.8
- orjson >=3.11
- pint >=0.23
- fastapi >=0.115
- sqlmodel >=0.0.39,<0.1
- jinja2 >=3.1.4
- requests >=2.32
- httpx >=0.27
- mcp >=1.30,<2
- uvicorn >=0.30
- pyserial >=3.5
- crcmod-plus >=2.3.1
- pymodbus >=3.6.9,<4
- pylabrobot-unilab ==0.2.2+unilabos.6285d662effa py312_0
- opentrons-shared-data ==9.1.0+unilabos.np2.1 py312_np2_1
tests:
- python:
imports:
- unilabos.app.main
- unilabos.server.api.app
- unilabos.backend.hostlink.local_runtime
- opentrons_shared_data.labware.labware_definition
pip_check: true
- script:
- unilab --help
- python -c "import importlib.util; assert importlib.util.find_spec('rclpy') is None"
- python -c "import importlib.metadata as m; from opentrons_shared_data.labware import labware_definition as ld; from pylabrobot.resources.opentrons.plates import corning_96_wellplate_360ul_flat; assert m.version('opentrons-shared-data') == '9.1.0+unilabos.np2.1'; assert ld.trapezoid([1, 2, 3]) == 4; assert corning_96_wellplate_360ul_flat('install_check').num_items == 96"
about:
repository: https://github.com/deepmodeling/Uni-Lab-OS
license: GPL-3.0-only
description: "UniLabOS - Production package for ROS 2 Jazzy and CPython 3.12"
description: UniLabOS HostLink and microbackend (Python 3.12, no ROS required)
41 changes: 0 additions & 41 deletions .conda/environment-humble/recipe.yaml

This file was deleted.

44 changes: 0 additions & 44 deletions .conda/environment/recipe.yaml

This file was deleted.

75 changes: 60 additions & 15 deletions .conda/full-humble/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,79 @@

package:
name: unilabos-full
version: 0.12.2
version: 0.12.3

build:
noarch: generic
number: 0
string: humble_0

requirements:
run:
- unilabos ==0.12.2 humble_0
- sphinx
- sphinx_rtd_theme
- unilabos-ros2 ==0.12.3 humble_0
- sphinx >=7
- sphinx_rtd_theme >=2
- myst-parser >=2
- sphinxcontrib-mermaid
- myst-nb >=1
- sphinx-copybutton >=0.5
- sphinx-autobuild >=2024.2.4
- rinohtype >=0.5.4
- rinoh-typeface-dejavuserif
- rinoh-typeface-texgyrecursor
- rinoh-typeface-texgyreheros
- rinoh-typeface-texgyrepagella
- sphinx-simplepdf >=1.6
- opcua >=0.98.13
- pandas >=2.2
- matplotlib-base >=3.8
- pylibftdi >=0.22
- pprp >=0.2.7
- if: win
then: pyautogui >=0.9.54
- if: win
then: pywinauto >=0.6.8
- gradio
- flask
- ipython
- ipython >=8
- jupyterlab >=4
- pytest >=8
- pytest-asyncio >=0.23
- python-build >=1.2
- ruff >=0.9
- jupyter
- jupyros
- colcon-common-extensions
- robostack-humble::ros-humble-desktop-full
- robostack-humble::ros-humble-navigation2
- robostack-humble::ros-humble-ros2-control
- robostack-humble::ros-humble-robot-state-publisher
- robostack-humble::ros-humble-joint-state-publisher
- robostack-humble::ros-humble-moveit
- robostack-humble::ros-humble-moveit-servo
- robostack-humble::ros-humble-simulation
- colcon-notification
- ros-humble-desktop-full
- ros-humble-navigation2
- ros-humble-ros2-control
- ros-humble-robot-state-publisher
- ros-humble-joint-state-publisher
- ros-humble-moveit
- ros-humble-moveit-servo
- ros-humble-simulation

tests:
- python:
imports:
- rclpy
- unilabos_msgs.action
- sphinx
- myst_parser
- pytest
- IPython
- jupyterlab
- opcua
pip_check: true
- script:
# 与 Jazzy 相同的 Windows 隔离用户目录初始化,字体导入测试不跳过。
- if: win
then:
- if not exist "%USERPROFILE%\AppData\Local" mkdir "%USERPROFILE%\AppData\Local"
- if not exist "%USERPROFILE%\AppData\Roaming" mkdir "%USERPROFILE%\AppData\Roaming"
- python -c "import rinoh_typeface_dejavuserif, rinoh_typeface_texgyrecursor, rinoh_typeface_texgyreheros, rinoh_typeface_texgyrepagella"
- python -c "from importlib.metadata import requires, version; from packaging.requirements import Requirement; reqs = [Requirement(r) for r in requires('unilabos')]; missing = [str(r) for r in reqs if (r.marker is None or r.marker.evaluate({'extra':'full'})) and not r.specifier.contains(version(r.name))]; assert not missing, missing"
about:
repository: https://github.com/deepmodeling/Uni-Lab-OS
license: GPL-3.0-only
description: "UniLabOS Full - ROS 2 Humble Desktop, MoveIt, Navigation2, Gazebo, and Jupyter"
description: "UniLabOS Full - runtime, docs, tests, development and ROS 2 Humble Desktop"
Loading
Loading