OSO-Semantic Query Layer
Manually testing with pyodide
We need to add pyodide to CI, but for now to manually run tests do the following:
Get current pyodide version
You will need to do this from the oso_semantic directory.
PYODIDE_EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version)
Install emscripten
Choose a place to store the code and git clone emsdk:
cd some/base/directory
git clone https://github.com/emscripten-core/emsdk
cd emsdk
./emsdk install ${PYODIDE_EMSCRIPTEN_VERSION}
./emsdk activate ${PYODIDE_EMSCRIPTEN_VERSION}
source emsdk_env.sh
Build pyodide wheel
Now go back to the oso_semantic directory
cd oso/warehouse/oso_semantic
uv run pyodide build
This will generate a .whl file in dist
Download pyodide version
Download the recent pyodide version (at the time of writing is 0.27.2):
cd dist/
wget https://github.com/pyodide/pyodide/releases/download/0.27.2/pyodide-0.27.2.tar.bz2
tar xjf pyodide-0.27.2.tar.bz2
This will now have generated a dist/pyodide directory.
Run pytest
uv run pytest --run-in-pyodide . --runtime node --dist-dir=./dist
Release files for oso-semantic 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oso_semantic-0.1.3.tar.gz | 30.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oso_semantic-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 67.1 kB
Release files / oso_semantic-0.1.3.tar.gz
| Download URL | oso_semantic-0.1.3.tar.gz |
|---|---|
| Size | 30.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c88deb8c195edf29f39a9a4caf206f50b5b758c87426d24780922ae7829be1f
|
|
BLAKE2b-256 checksum How to use checksums |
56e6d8043a4f61dfe365a9accfefd2f18aa988d0d5057c69dde768bc1c96b6da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.13
|
Release files / oso_semantic-0.1.3-py3-none-any.whl
| Download URL | oso_semantic-0.1.3-py3-none-any.whl |
|---|---|
| Size | 36.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97b5305bb405644ccd3fadbb3378ca0a7e758b181d122ff65e0958322d00d18e
|
|
BLAKE2b-256 checksum How to use checksums |
15464adcfa15b1fc67bee1ccc76e7cb2468dd1f2562375c6dcc15e80875b57ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.13
|