Skip to content

Commit 7bc51b0

Browse files
authored
Merge pull request #833 from UiPath/feature/add_uipath_core
feat: release 2.2.0
2 parents d06b5ba + 92e8455 commit 7bc51b0

File tree

235 files changed

+5083
-10412
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+5083
-10412
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: uv sync --locked --all-extras
2828

2929
- name: Check static types
30-
run: uv run mypy --config-file pyproject.toml .
30+
run: uv run mypy --config-file pyproject.toml
3131

3232
- name: Check linting
3333
run: uv run ruff check .

.github/workflows/test-uipath-langchain.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
12+
python-version: [ "3.11", "3.12", "3.13" ]
1313
os: [ ubuntu-latest, windows-latest ]
1414

1515
permissions:

.github/workflows/test-uipath-llamaindex.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
12+
python-version: [ "3.11", "3.12", "3.13" ]
1313
os: [ ubuntu-latest, windows-latest ]
1414

1515
permissions:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
timeout-minutes: 10
1111
strategy:
1212
matrix:
13-
python-version: ["3.10", "3.11", "3.12", "3.13"]
13+
python-version: ["3.11", "3.12", "3.13"]
1414
os: [ubuntu-latest, windows-latest]
1515

1616
permissions:

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10
1+
3.11

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
### Prerequisites
66

7-
1. **Install Python ≥ 3.10**:
8-
- Download and install Python 3.10 from the official [Python website](https://www.python.org/downloads/)
7+
1. **Install Python ≥ 3.11**:
8+
- Download and install Python 3.11 from the official [Python website](https://www.python.org/downloads/)
99
- Verify the installation by running:
1010
```sh
11-
python3.10 --version
11+
python3.11 --version
1212
```
1313

1414
Alternative: [mise](https://mise.jdx.dev/lang/python.html)
@@ -52,7 +52,7 @@ For additional commands related to linting, formatting, and building, run `just
5252

5353
2. Initialize the Python project:
5454
```sh
55-
uv init . --python 3.10
55+
uv init . --python 3.11
5656
```
5757

5858
3. Set the SDK path:
@@ -65,7 +65,7 @@ For additional commands related to linting, formatting, and building, run `just
6565
uv add --editable ${PATH_TO_SDK}
6666
```
6767

68-
> **Note:** Instead of cloning the project into `.venv/lib/python3.10/site-packages/uipath`, this mode creates a file named `_uipath.pth` inside `.venv/lib/python3.10/site-packages`. This file contains the value of `PATH_TO_SDK`, which is added to `sys.path`—the list of directories where Python searches for packages. To view the entries, run `python -c 'import sys; print(sys.path)'`.
68+
> **Note:** Instead of cloning the project into `.venv/lib/python3.11/site-packages/uipath`, this mode creates a file named `_uipath.pth` inside `.venv/lib/python3.11/site-packages`. This file contains the value of `PATH_TO_SDK`, which is added to `sys.path`—the list of directories where Python searches for packages. To view the entries, run `python -c 'import sys; print(sys.path)'`.
6969

7070
## API Style Guide
7171

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ UIPATH_ACCESS_TOKEN=YOUR_TOKEN_HERE
5858
## Basic Usage
5959

6060
```python
61-
from uipath import UiPath
61+
from uipath.platform import UiPath
6262
# Initialize the SDK
6363
sdk = UiPath()
6464
# Execute a process
@@ -88,7 +88,7 @@ The SDK provides access to various UiPath services:
8888

8989
- `sdk.queues` - Work with transaction queues
9090

91-
- `sdk.actions` - Work with Action Center
91+
- `sdk.tasks` - Work with Action Center
9292

9393
- `sdk.api_client` - Direct access to the API client for custom requests
9494

docs/core/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
::: uipath._services.actions_service
1+
::: uipath._services.tasks_service

docs/core/getting_started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Prerequisites
44

5-
- Python 3.10 or higher
5+
- Python 3.11 or higher
66
- `pip` or `uv` package manager
77
- A UiPath Cloud Platform account with appropriate permissions
88

@@ -37,12 +37,12 @@
3737

3838
```shell
3939
# Initialize a new uv project in the current directory
40-
> uv init . --python 3.10
40+
> uv init . --python 3.11
4141

4242
# Create a new virtual environment
4343
# By default, uv creates a virtual environment in a directory called .venv
4444
> uv venv
45-
Using CPython 3.10.16 interpreter at: [PATH]
45+
Using CPython 3.11 interpreter at: [PATH]
4646
Creating virtual environment at: .venv
4747
Activate with: source .venv/bin/activate
4848

@@ -246,7 +246,7 @@ Create a **new project** (separate from the one you just packaged and published)
246246
Open `main.py` in your code editor and add the following code:
247247

248248
```python
249-
from uipath import UiPath
249+
from uipath.platform import UiPath
250250

251251

252252
def main():

docs/release_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Breaking changes are introduced in minor releases (X.Y.0) and follow these guide
112112

113113
The SDK maintains compatibility with:
114114

115-
- Python 3.10+
115+
- Python 3.11+
116116
- Key dependencies as specified in `pyproject.toml`
117117
- Regular updates to dependencies are performed in minor releases
118118

0 commit comments

Comments
 (0)