mobiedantic 0.2.0__tar.gz → 0.4.0__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.
- mobiedantic-0.4.0/.gitattributes +2 -0
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/.github/workflows/publish.yml +13 -25
- mobiedantic-0.4.0/.github/workflows/test.yml +48 -0
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/PKG-INFO +3 -4
- mobiedantic-0.4.0/luigi.cfg +2 -0
- mobiedantic-0.4.0/pixi.lock +30060 -0
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/pyproject.toml +46 -38
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/sandbox/Testing.ipynb +7 -5
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/src/mobiedantic/__init__.py +37 -9
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/src/mobiedantic/generated.py +2 -2
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/tests/test_api.py +16 -9
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/tests/test_schemas.py +5 -1
- mobiedantic-0.2.0/.gitattributes +0 -2
- mobiedantic-0.2.0/.github/workflows/test.yml +0 -51
- mobiedantic-0.2.0/pixi.lock +0 -13186
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/.gitignore +0 -0
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/LICENSE.txt +0 -0
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/README.md +0 -0
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/environment.yml +0 -0
- {mobiedantic-0.2.0 → mobiedantic-0.4.0}/tests/__init__.py +0 -0
|
@@ -22,38 +22,26 @@ jobs:
|
|
|
22
22
|
|
|
23
23
|
steps:
|
|
24
24
|
- name: Checkout code
|
|
25
|
-
uses: actions/checkout@
|
|
25
|
+
uses: actions/checkout@v6
|
|
26
26
|
with:
|
|
27
27
|
fetch-depth: 0
|
|
28
28
|
|
|
29
|
-
- name: Set up
|
|
30
|
-
uses:
|
|
29
|
+
- name: Set up Pixi
|
|
30
|
+
uses: prefix-dev/setup-pixi@v0.9.3
|
|
31
31
|
with:
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
cache: true
|
|
33
|
+
environments: >-
|
|
34
|
+
py310
|
|
35
|
+
build
|
|
34
36
|
|
|
35
|
-
- name:
|
|
36
|
-
|
|
37
|
-
with:
|
|
38
|
-
mamba-version: "*"
|
|
39
|
-
channels: conda-forge
|
|
40
|
-
|
|
41
|
-
- name: Install dependencies
|
|
42
|
-
run: |
|
|
43
|
-
python -m pip install --upgrade pip
|
|
44
|
-
pip install hatch
|
|
45
|
-
|
|
46
|
-
- name: Install Hatch-Conda
|
|
47
|
-
run: pip install --upgrade hatch-conda
|
|
37
|
+
- name: Test
|
|
38
|
+
run: pixi run --environment py310 test
|
|
48
39
|
|
|
49
40
|
- name: Build package
|
|
50
|
-
run:
|
|
51
|
-
|
|
52
|
-
- name: Test package
|
|
53
|
-
run: hatch test
|
|
41
|
+
run: pixi run --environment build build
|
|
54
42
|
|
|
55
43
|
- name: Upload artifacts
|
|
56
|
-
uses: actions/upload-artifact@
|
|
44
|
+
uses: actions/upload-artifact@v6
|
|
57
45
|
with:
|
|
58
46
|
name: python-artifacts
|
|
59
47
|
path: dist/*
|
|
@@ -72,7 +60,7 @@ jobs:
|
|
|
72
60
|
|
|
73
61
|
steps:
|
|
74
62
|
- name: Download Python artifacts
|
|
75
|
-
uses: actions/download-artifact@
|
|
63
|
+
uses: actions/download-artifact@v7
|
|
76
64
|
with:
|
|
77
65
|
name: python-artifacts
|
|
78
66
|
path: dist
|
|
@@ -81,4 +69,4 @@ jobs:
|
|
|
81
69
|
with:
|
|
82
70
|
files: dist/*
|
|
83
71
|
- name: Publish package distributions to PyPI
|
|
84
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
72
|
+
uses: pypa/gh-action-pypi-publish@v1.13.0
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
name: test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: test-${{ github.head_ref }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
env:
|
|
14
|
+
PYTHONUNBUFFERED: "1"
|
|
15
|
+
FORCE_COLOR: "1"
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
run:
|
|
19
|
+
name: ${{ matrix.pixi-environment }} - ${{ matrix.os }}
|
|
20
|
+
runs-on: ${{ matrix.os }}
|
|
21
|
+
permissions:
|
|
22
|
+
contents: read
|
|
23
|
+
strategy:
|
|
24
|
+
fail-fast: false
|
|
25
|
+
matrix:
|
|
26
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
27
|
+
pixi-environment:
|
|
28
|
+
- py310
|
|
29
|
+
- py311
|
|
30
|
+
- py312
|
|
31
|
+
- py313
|
|
32
|
+
steps:
|
|
33
|
+
- uses: actions/checkout@v6
|
|
34
|
+
|
|
35
|
+
- name: Set up Pixi
|
|
36
|
+
uses: prefix-dev/setup-pixi@v0.9.3
|
|
37
|
+
with:
|
|
38
|
+
cache: true
|
|
39
|
+
environments: ${{ matrix.pixi-environment }}
|
|
40
|
+
|
|
41
|
+
- name: Run tests
|
|
42
|
+
run: pixi run --environment ${{ matrix.pixi-environment }} cov-xml
|
|
43
|
+
|
|
44
|
+
- name: Upload coverage reports to Codecov
|
|
45
|
+
uses: codecov/codecov-action@v5
|
|
46
|
+
with:
|
|
47
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
48
|
+
slug: fmi-faim/mobiedantic
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: mobiedantic
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Project-URL: Documentation, https://github.com/fmi-faim/mobiedantic#readme
|
|
5
5
|
Project-URL: Issues, https://github.com/fmi-faim/mobiedantic/issues
|
|
6
6
|
Project-URL: Source, https://github.com/fmi-faim/mobiedantic
|
|
@@ -14,12 +14,11 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
18
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
18
19
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
19
20
|
Requires-Python: >=3.8
|
|
20
21
|
Requires-Dist: pydantic
|
|
21
|
-
Provides-Extra: hatch
|
|
22
|
-
Requires-Dist: hatch-conda<0.6,>=0.5.2; extra == 'hatch'
|
|
23
22
|
Description-Content-Type: text/markdown
|
|
24
23
|
|
|
25
24
|
# mobiedantic
|