pymetadata 0.5.0__tar.gz → 0.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pymetadata might be problematic. Click here for more details.
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.bumpversion.toml +1 -1
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.github/workflows/main.yml +14 -1
- {pymetadata-0.5.0 → pymetadata-0.5.1}/PKG-INFO +1 -1
- {pymetadata-0.5.0 → pymetadata-0.5.1}/RELEASE.md +18 -17
- pymetadata-0.5.1/release-notes/0.5.1.md +10 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/__init__.py +1 -1
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/omex.py +2 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.github/CONTRIBUTING.rst +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.github/ISSUE_TEMPLATE/01-bug-report.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.github/ISSUE_TEMPLATE/02-question.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.github/ISSUE_TEMPLATE/03-feature-request.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.github/SUPPORT.rst +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.github/workflows/ruff.yml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.gitignore +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.pre-commit-config.yaml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.python-version +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.ruff.toml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/.zenodo.json +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/LICENSE +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/README.rst +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/composite_annotations.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/about.txt +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/android-chrome-192x192.png +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/android-chrome-512x512.png +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/apple-touch-icon.png +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/favicon-16x16.png +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/favicon-32x32.png +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/favicon.ico +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/favicon_io.zip +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/pymetadata-100x100-300dpi.png +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/docs/images/favicon/site.webmanifest +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/pyproject.toml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.10.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.11.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.12.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.13.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.14.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.15.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.16.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.17.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.18.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.19.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.2.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.20.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.21.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.22.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.3.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.4.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.5.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.6.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.7.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.8.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.0.9.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.1.0.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.1.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.10.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.2.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.3.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.4.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.5.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.6.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.7.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.8.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.2.9.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.0.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.1.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.10.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.11.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.2.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.3.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.4.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.5.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.6.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.7.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.8.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.3.9.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.4.0.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.4.1.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.4.2.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.4.3.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.4.4.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/release-notes/0.5.0.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/cache.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/chebi.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/console.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/core/__init__.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/core/annotation.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/core/creator.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/core/synonym.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/core/xref.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/__init__.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/cache_path_example.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/omex_example.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/results/test_from_files.omex +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/results/test_from_omex.omex +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/results/testomex/README.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/results/testomex/manifest.xml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/results/testomex/models/omex_comp.xml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/results/testomex/models/omex_comp_flat.xml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/results/testomex/models/omex_minimal.xml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/test.omex +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/identifiers/__init__.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/identifiers/miriam.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/identifiers/registry.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/log.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/metadata/__init__.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/metadata/eco.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/metadata/kisao.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/metadata/sbo.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/omex_v2.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/ontologies/__init__.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/ontologies/ols.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/ontologies/ontology.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/py.typed +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/resources/chebi_webservice_wsdl.xml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/resources/ontologies/README.md +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/resources/templates/ontology_enum.pytemplate +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/unichem.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/core/test_annotation.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/core/test_creator.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/data/omex/BIOMD0000000001.omex +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/data/omex/CombineArchiveShowCase.omex +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/data/omex/CombineArchiveShowCase_manifest.xml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/data/omex/CompModels.omex +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/data/omex/CompModels_manifest.xml +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/data/omex/iCGB21FR.omex +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/test_chebi.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/test_ols.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/test_omex.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/test_ontology.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/test_registry.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/test_sbo_kisao.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tests/test_unichem.py +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/tox.ini +0 -0
- {pymetadata-0.5.0 → pymetadata-0.5.1}/uv.lock +0 -0
|
@@ -7,8 +7,21 @@ jobs:
|
|
|
7
7
|
strategy:
|
|
8
8
|
fail-fast: false
|
|
9
9
|
matrix:
|
|
10
|
-
os: [ubuntu-latest]
|
|
10
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
11
11
|
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
12
|
+
exclude:
|
|
13
|
+
- os: windows-latest
|
|
14
|
+
python-version: "3.10"
|
|
15
|
+
- os: windows-latest
|
|
16
|
+
python-version: "3.11"
|
|
17
|
+
- os: windows-latest
|
|
18
|
+
python-version: "3.13"
|
|
19
|
+
- os: macos-latest
|
|
20
|
+
python-version: "3.10"
|
|
21
|
+
- os: macos-latest
|
|
22
|
+
python-version: "3.11"
|
|
23
|
+
- os: macos-latest
|
|
24
|
+
python-version: "3.13"
|
|
12
25
|
|
|
13
26
|
steps:
|
|
14
27
|
- uses: actions/checkout@v4
|
|
@@ -12,32 +12,33 @@
|
|
|
12
12
|
|
|
13
13
|
* test installation in virtualenv from pypi
|
|
14
14
|
```
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
uv venv --python 3.13
|
|
16
|
+
uv pip install pymetadata
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
https://github.com/tox-dev/tox-uv
|
|
22
|
-
uv tool install tox --with tox-uv
|
|
23
|
-
tox r -e py312
|
|
24
|
-
tox run-parallel
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
# install dev dependencies:
|
|
19
|
+
# Install dev dependencies:
|
|
28
20
|
```bash
|
|
29
|
-
# install dependencies
|
|
21
|
+
# install core dependencies
|
|
30
22
|
uv sync
|
|
31
23
|
# install dev dependencies
|
|
32
24
|
uv pip install -r pyproject.toml --extra dev
|
|
33
|
-
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Setup tox testing
|
|
28
|
+
See information on https://github.com/tox-dev/tox-uv
|
|
29
|
+
```bash
|
|
34
30
|
uv tool install tox --with tox-uv
|
|
35
31
|
```
|
|
32
|
+
Run single tox target
|
|
33
|
+
```bash
|
|
34
|
+
tox r -e py312
|
|
35
|
+
```
|
|
36
|
+
Run all tests in parallel
|
|
37
|
+
```bash
|
|
38
|
+
tox run-parallel
|
|
39
|
+
```
|
|
36
40
|
|
|
37
|
-
# pre-commit
|
|
41
|
+
# Setup pre-commit
|
|
38
42
|
pip install pre-commit
|
|
39
43
|
pre-commit install
|
|
40
|
-
|
|
41
44
|
pre-commit run
|
|
42
|
-
|
|
43
|
-
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Release notes for pymetadata 0.5.1
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
We are pleased to release the next version of pymetadata including the
|
|
5
|
+
following changes:
|
|
6
|
+
|
|
7
|
+
## Features & fixes
|
|
8
|
+
- Fix #52 windows paths
|
|
9
|
+
|
|
10
|
+
Your pymetadata team
|
|
@@ -574,6 +574,8 @@ class Omex:
|
|
|
574
574
|
for file in files:
|
|
575
575
|
file_path = os.path.join(root, file)
|
|
576
576
|
location = f"./{os.path.relpath(file_path, directory)}"
|
|
577
|
+
# bugfix for windows paths
|
|
578
|
+
location = location.replace("\\", "/")
|
|
577
579
|
if location == "./manifest.xml":
|
|
578
580
|
# manifest is created from the internal manifest entries
|
|
579
581
|
continue
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/examples/results/testomex/models/omex_comp.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymetadata-0.5.0 → pymetadata-0.5.1}/src/pymetadata/resources/templates/ontology_enum.pytemplate
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|