You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,34 +147,34 @@ Here's how to package, test, and ship a new release.
147
147
148
148
```sh
149
149
source local/bin/activate.csh
150
-
python3 -m unittest discover
150
+
python -m unittest discover
151
151
```
152
152
1. Bump the version number in`pyproject.toml` and `docs/conf.py`. `git grep` the old version number to make sure it only appears in the changelog. Change the current changelog entry in`README.md`for this new version from _unreleased_ to the current date.
153
153
1. Build the docs. If you added any new modules, add them to the appropriate file(s) in`docs/source/`. Then run `./docs/build.sh`. Check that the generated HTML looks fine by opening `docs/_build/html/index.html` and looking around.
154
154
1. `git commit -am 'release vX.Y'`
155
155
1. Upload to [test.pypi.org](https://test.pypi.org/) for testing.
156
156
157
157
```sh
158
-
python3 -m build
158
+
python -m build
159
159
setenv ver X.Y
160
160
twine upload -r pypitest dist/lexrpc-$ver*
161
161
```
162
162
1. Install from test.pypi.org.
163
163
164
164
```sh
165
165
cd /tmp
166
-
python3 -m venv local
166
+
python -m venv local
167
167
source local/bin/activate.csh
168
-
pip3 uninstall lexrpc # make sure we force pip to use the uploaded version
1. Smoke test that the code trivially loads and runs.
174
174
175
175
```sh
176
176
source local/bin/activate.csh
177
-
python3
177
+
python
178
178
# run test code below
179
179
deactivate
180
180
```
@@ -227,7 +227,7 @@ Here's how to package, test, and ship a new release.
227
227
228
228
## Changelog
229
229
230
-
### 0.7 - unreleased
230
+
### 0.7 - 2024-06-24
231
231
232
232
* Fix websocket subscription server hang with blocking server XRPC methods due to exhausting worker thread pool ([#8](https://github.com/snarfed/lexrpc/issues/8)).
233
233
* Add `truncate` kwarg to `Client` and `Server` constructors to automatically truncate (ellipsize) string values that are longer than their ``maxGraphemes`` or ``maxLength`` in their lexicon. Defaults to `False`.
0 commit comments