Skip to content

Commit 6e23f7f

Browse files
committed
Release 0.5.0
1 parent 60bc3cc commit 6e23f7f

File tree

4 files changed

+49
-7
lines changed

4 files changed

+49
-7
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
### Changelog
22

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+
310
#### Version 0.3.0
411

512
- Add MVR writer

README.md

+17-3
Original file line numberDiff line numberDiff line change
@@ -105,21 +105,35 @@ reference implementation.
105105

106106
## Development
107107

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+
108115
### Typing
109116

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:
111119

112120
```bash
113121
mypy pymvr/*py --pretty --no-strict-optional
114122
```
115123

116124
### Format
117125

118-
- to format, use `ruff`
126+
- To format, use [black](https://github.com/psf/black) or
127+
[ruff](https://docs.astral.sh/ruff/)
119128

120129
### Testing
121130

122-
- to test, use `pytest`
131+
- to test, use pytest
132+
133+
```bash
134+
pytest
135+
```
136+
123137
- to test typing with mypy use:
124138

125139
```bash

RELEASE.md

+24-3
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,42 @@
66
* `git tag versionCode`
77
* `git push origin versionCode`
88

9-
* generate wheel:
9+
* generate wheel with pip wheel:
1010

1111
```bash
1212
python -m pip install pip wheel twine
1313
python3 -m pip wheel .
1414
```
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:
1624
* use `__token__` for username and a token for password
1725

1826
```bash
1927
python -m twine upload --repository testpypi ./pymvr*whl --verbose
2028
```
2129

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:
2338
2439
```bash
2540
python -m twine upload ./pymvr*whl
2641
```
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+
```

pymvr/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import uuid as py_uuid
77
from .value import Matrix, Color # type: ignore
88

9-
__version__ = "0.4.0"
9+
__version__ = "0.5.0"
1010

1111

1212
def _find_root(pkg: "zipfile.ZipFile") -> "ElementTree.Element":

0 commit comments

Comments
 (0)