Skip to content

Commit 35f6ad1

Browse files
authored
Move to UV (#394)
* Move to UV * remove users from owners file
1 parent c51ef69 commit 35f6ad1

File tree

6 files changed

+1298
-1600
lines changed

6 files changed

+1298
-1600
lines changed

.release-it.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
"tagAnnotation": "Release ${version}",
1818
"tagArgs": [],
1919
"push": true,
20-
"pushArgs": [
21-
"--follow-tags"
22-
],
20+
"pushArgs": ["--follow-tags"],
2321
"pushRepo": "",
2422
"changelog": "git log --pretty=format:\"* %s (%h) by %an on %as\" ${from}...${to}"
2523
},
@@ -40,8 +38,11 @@
4038
},
4139
"plugins": {
4240
"@release-it/bumper": {
43-
"in": "VERSION",
44-
"out": "VERSION"
41+
"in": "pyproject.toml",
42+
"out": { "file": "pyproject.toml", "path": "project.version" }
4543
}
44+
},
45+
"hooks": {
46+
"after:bump": "uv sync"
4647
}
4748
}

OWNERS

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,5 @@ approvers:
33
- myakove
44
reviewers:
55
- rnetser
6-
- omrirh
7-
- ILpinto
86
- myakove
9-
- chetna14manku
10-
- rujutashinde
117
- dbasunag

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,27 @@ A utilities repository for [openshift-restclient-python](https://github.com/open
55

66
## Release new version
77

8-
### requirements:
8+
### requirements
99

10-
* Export GitHub token
10+
- Export GitHub token
1111

1212
```bash
1313
export GITHUB_TOKEN=<your_github_token>
1414
```
1515

16-
* [release-it](https://github.com/release-it/release-it)
16+
- [release-it](https://github.com/release-it/release-it)
1717

1818
Run the following once (execute outside repository dir for example `~/`):
1919

2020
```bash
2121
sudo npm install --global release-it
2222
npm install --save-dev @release-it/bumper
2323
```
24-
### usage:
2524

26-
* Create a release, run from the relevant branch.
27-
To create a 4.11 release, run:
25+
### usage
26+
27+
- Create a release, run from the relevant branch.
28+
To create a 4.11 release, run:
2829

2930
```bash
3031
git checkout v4.11
@@ -34,12 +35,12 @@ release-it # Follow the instructions
3435

3536
## Installation
3637

37-
From source using [poetry](https://github.com/python-poetry/poetry).
38+
From source using [uv](https://github.com/astral-sh/uv).
3839

3940
```
4041
git clone https://github.com/RedHatQE/openshift-python-utilities.git
4142
cd openshift-python-utilities
42-
poetry install
43+
uv sync
4344
```
4445

4546
## Examples

0 commit comments

Comments
 (0)