Skip to content

Commit e63564c

Browse files
authored
Revert "Pixi support!"
1 parent d0efa37 commit e63564c

File tree

15 files changed

+34
-67224
lines changed

15 files changed

+34
-67224
lines changed

.github/workflows/python-pytest.yml renamed to .github/workflows/python-package.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
14
name: Python
25

36
on:
@@ -9,7 +12,6 @@ on:
912
jobs:
1013
build:
1114

12-
timeout-minutes: 10
1315
runs-on: ubuntu-latest
1416
strategy:
1517
fail-fast: false

.github/workflows/python-pixi.yml

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

.github/workflows/ros-pixi.yml

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

.github/workflows/ros-pytest.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
jobs:
1010
build:
1111

12-
timeout-minutes: 10
1312
runs-on: ubuntu-latest
1413
strategy:
1514
fail-fast: false

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ build/
88
install/
99
log/
1010
uv.lock
11-
.pixi

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Asyncio For Robotics
22
| Requirements | Compatibility | Tests |
33
|---|---|---|
4-
| [![python](https://img.shields.io/pypi/pyversions/asyncio_for_robotics?logo=python&logoColor=white&label=Python&color=%20blue)](https://pypi.org/project/asyncio_for_robotics/)<br>[![mit](https://img.shields.io/badge/License-MIT-gold)](https://opensource.org/license/mit) | [![ros](https://img.shields.io/badge/ROS_2-Humble%20%7C%20Jazzy-blue?logo=ros)](https://github.com/ros2)<br>[![zenoh](https://img.shields.io/badge/Zenoh-%3E%3D1.0-blue)](https://zenoh.io/) | [![Python](https://github.com/2lian/asyncio-for-robotics/actions/workflows/python-package.yml/badge.svg)](https://github.com/2lian/asyncio-for-robotics/actions/workflows/python-package.yml)<br>[![ROS 2](https://github.com/2lian/asyncio-for-robotics/actions/workflows/ros-pytest.yml/badge.svg)](https://github.com/2lian/asyncio-for-robotics/actions/workflows/ros-pytest.yml) |
4+
| [![python](https://img.shields.io/pypi/pyversions/asyncio_for_robotics?logo=python&logoColor=white&label=Python&color=%20blue)](https://pypi.org/project/asyncio_for_robotics/)<br>[![mit](https://img.shields.io/badge/License-MIT-gold)](https://opensource.org/license/mit) | [![zenoh](https://img.shields.io/badge/Zenoh-%3E%3D1.0-blue)](https://zenoh.io/)<br>[![ros](https://img.shields.io/badge/ROS_2-Humble%20%7C%20Jazzy-blue?logo=ros)](https://github.com/ros2) | [![Python](https://github.com/2lian/asyncio-for-robotics/actions/workflows/python-package.yml/badge.svg)](https://github.com/2lian/asyncio-for-robotics/actions/workflows/python-package.yml)<br>[![ROS 2](https://github.com/2lian/asyncio-for-robotics/actions/workflows/ros-pytest.yml/badge.svg)](https://github.com/2lian/asyncio-for-robotics/actions/workflows/ros-pytest.yml) |
55

66
The Asyncio For Robotics (`afor`) library makes `asyncio` usable with ROS 2, Zenoh and more, letting you write linear, testable, and non-blocking Python code.
77

@@ -20,7 +20,13 @@ better, faster code.
2020

2121
### Barebone
2222

23-
Compatible with ROS 2 (`jazzy`,`humble` and newer) out of the box. This library is pure python (>=3.10), so it installs easily.
23+
```bash
24+
pip install asyncio_for_robotics
25+
```
26+
27+
### For ROS 2
28+
29+
Compatible with: `jazzy`,`humble` and newer. This library is pure python (>=3.10), so it installs easily.
2430

2531
```bash
2632
pip install asyncio_for_robotics
@@ -39,7 +45,6 @@ pip install asyncio_for_robotics[zenoh]
3945
- [no talking 🦍 show me code 🦍](https://github.com/2lian/asyncio-for-robotics/blob/main/asyncio_for_robotics/example/ros2_pubsub.py)
4046
- [Usage for software testing](https://github.com/2lian/asyncio-for-robotics/blob/main/tests)
4147
- [Implement your own protocol](https://github.com/2lian/asyncio-for-robotics/blob/main/own_proto_example.md)
42-
- [Cross-Platform deployment even with ROS](https://github.com/2lian/asyncio-for-robotics/blob/main/cross_platform.md) [![Pixi Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh)
4348

4449
## Code sample
4550

asyncio_for_robotics/core/_logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def setup_logger(debug_path: Optional[str] = None):
9595
"level": "DEBUG",
9696
"formatter": "json",
9797
"filename": (
98-
os.path.join(os.path.expanduser(debug_path) , "debug.log.jsonl")
98+
os.path.expanduser(debug_path) + "/debug.log.jsonl"
9999
if debug_path is not None
100100
else "log.jsonl"
101101
), # path relative to working dir
@@ -106,7 +106,7 @@ def setup_logger(debug_path: Optional[str] = None):
106106
"level": "DEBUG",
107107
"formatter": "user",
108108
"filename": (
109-
os.path.join(os.path.expanduser(debug_path) , "debug.log")
109+
os.path.expanduser(debug_path) + "/debug.log"
110110
if debug_path is not None
111111
else "log"
112112
), # path relative to working dir

cross_platform.md

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

0 commit comments

Comments
 (0)