File tree 4 files changed +49
-7
lines changed
4 files changed +49
-7
lines changed Original file line number Diff line number Diff line change 1
1
### Changelog
2
2
3
+ #### 0.5.0
4
+
5
+ * Add classing to export
6
+ * Improve testing of elements availability
7
+ * Add python 3.14 beta to testing, add development dependencies
8
+ * Add ruff to tests, adjust CI/CD runs
9
+
3
10
#### Version 0.3.0
4
11
5
12
- Add MVR writer
Original file line number Diff line number Diff line change @@ -105,21 +105,35 @@ reference implementation.
105
105
106
106
## Development
107
107
108
+ PRs appreciated. You can use [ uv] ( https://docs.astral.sh/uv/ ) to get the
109
+ project setup by running:
110
+
111
+ ``` bash
112
+ uv sync
113
+ ```
114
+
108
115
### Typing
109
116
110
- - At this point, the ` --no-strict-optional ` is needed for mypy tests to pass:
117
+ - We try to type the main library, at this point, the
118
+ ` --no-strict-optional ` is needed for mypy tests to pass:
111
119
112
120
``` bash
113
121
mypy pymvr/* py --pretty --no-strict-optional
114
122
```
115
123
116
124
### Format
117
125
118
- - to format, use ` ruff `
126
+ - To format, use [ black] ( https://github.com/psf/black ) or
127
+ [ ruff] ( https://docs.astral.sh/ruff/ )
119
128
120
129
### Testing
121
130
122
- - to test, use ` pytest `
131
+ - to test, use pytest
132
+
133
+ ``` bash
134
+ pytest
135
+ ```
136
+
123
137
- to test typing with mypy use:
124
138
125
139
``` bash
Original file line number Diff line number Diff line change 6
6
* ` git tag versionCode `
7
7
* ` git push origin versionCode `
8
8
9
- * generate wheel:
9
+ * generate wheel with pip wheel :
10
10
11
11
``` bash
12
12
python -m pip install pip wheel twine
13
13
python3 -m pip wheel .
14
14
```
15
- * test upload to TestPypi with twine
15
+
16
+ * generate wheel with uv:
17
+ - https://docs.astral.sh/uv/
18
+
19
+ ``` bash
20
+ uv build
21
+ ```
22
+
23
+ * test upload to TestPypi with twine:
16
24
* use ` __token__ ` for username and a token for password
17
25
18
26
``` bash
19
27
python -m twine upload --repository testpypi ./pymvr* whl --verbose
20
28
```
21
29
22
- * release to official pypi:
30
+ * test upload to TestPypi with uv:
31
+ * use token for -t
32
+
33
+ ``bash
34
+ uv publish -t --publish-url https://test.pypi.org/legacy/ dist/* whl
35
+ ```
36
+
37
+ * release to official pypi with twine:
23
38
24
39
```bash
25
40
python -m twine upload ./pymvr*whl
26
41
```
42
+
43
+ * release to official pypi with uv:
44
+
45
+ ``` bash
46
+ uv publish -t --publish-url https://upload.pypi.org/legacy/ dist/* whl
47
+ ```
Original file line number Diff line number Diff line change 6
6
import uuid as py_uuid
7
7
from .value import Matrix , Color # type: ignore
8
8
9
- __version__ = "0.4 .0"
9
+ __version__ = "0.5 .0"
10
10
11
11
12
12
def _find_root (pkg : "zipfile.ZipFile" ) -> "ElementTree.Element" :
You can’t perform that action at this time.
0 commit comments