PyMieSimX 0.1.6__tar.gz → 0.1.7__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 PyMieSimX might be problematic. Click here for more details.
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.github/workflows/deploy_anaconda.yml +8 -1
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PKG-INFO +1 -1
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX.egg-info/PKG-INFO +1 -1
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX.egg-info/SOURCES.txt +2 -1
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX.egg-info/scm_file_list.json +2 -1
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX.egg-info/scm_version.json +2 -2
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/conda.recipe/meta.yaml +3 -0
- pymiesimx-0.1.7/tools/verify_conda_artifact.py +28 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.coveragerc +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.flake8 +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.github/dependabot.yml +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.github/workflows/deploy_PyPi.yml +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.github/workflows/deploy_coverage.yml +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.github/workflows/quality.yml +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.github/workflows/tests.yml +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.gitignore +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/.pre-commit-config.yaml +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/AGENTS.md +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/CONTRIBUTING.md +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/Dockerfile +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/LICENSE +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/__init__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/__main__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/api.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/application/__init__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/application/wsgi.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/__init__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/admin.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/card-state.js +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/dashboard.css +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/default-settings.json +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/home-spf-radial.gif +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/home-spf-radial.png +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/logo.png +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/materials-stock.json +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/pymiesim-favicon.svg +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/pymiesim-logo-dark.svg +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/assets/pymiesim-logo.svg +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/callback_helpers.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/callbacks.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/components/__init__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/components/cards.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/computation.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/defaults.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/experiment_service.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/interface.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/jobs.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/layout.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/material_catalog.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/models.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/__init__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/citation.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/documentation.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/experiment/__init__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/experiment/page.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/experiment/sections/__init__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/experiment/sections/configuration.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/field_syntax.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/home.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/install_local.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/sellmeier.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/settings.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/single/__init__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/single/page.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/single/sections/__init__.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/single/sections/representations.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/single/sections/setup.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/parsing.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/plotting.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/schemas.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/services.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/single_service.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/usage_metrics.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/validation.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX.egg-info/dependency_links.txt +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX.egg-info/entry_points.txt +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX.egg-info/requires.txt +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX.egg-info/top_level.txt +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/README.rst +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/makefile +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/pyproject.toml +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/pytest.ini +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/setup.cfg +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tests/browser/test_dashboard.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tests/gui/cli.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tests/gui/test_admin.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tests/gui/test_api.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tests/gui/test_dash_callbacks.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tests/gui/test_home.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tests/gui/test_services.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tests/gui/test_usage_metrics.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tools/generate_home_spf.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tools/next_release_version.py +0 -0
- {pymiesimx-0.1.6 → pymiesimx-0.1.7}/tools/release_tag.py +0 -0
|
@@ -17,6 +17,13 @@ jobs:
|
|
|
17
17
|
package_name: pymiesimx
|
|
18
18
|
recipe_path: conda.recipe
|
|
19
19
|
test_import: PyMieSimX
|
|
20
|
-
|
|
20
|
+
# Shell startup in the reusable workflow reactivates base, even through
|
|
21
|
+
# conda run. Invoke the installed environment's interpreter directly.
|
|
22
|
+
test_command: >-
|
|
23
|
+
if [ -f '${test_prefix}/python.exe' ]; then
|
|
24
|
+
'${test_prefix}/python.exe' '${GITHUB_WORKSPACE}/tools/verify_conda_artifact.py';
|
|
25
|
+
else
|
|
26
|
+
'${test_prefix}/bin/python' '${GITHUB_WORKSPACE}/tools/verify_conda_artifact.py';
|
|
27
|
+
fi
|
|
21
28
|
secrets:
|
|
22
29
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
@@ -7,6 +7,8 @@ source:
|
|
|
7
7
|
|
|
8
8
|
build:
|
|
9
9
|
number: 0
|
|
10
|
+
script_env:
|
|
11
|
+
- SETUPTOOLS_SCM_PRETEND_VERSION={{ GIT_DESCRIBE_TAG | replace("v", "") }}
|
|
10
12
|
entry_points:
|
|
11
13
|
- pymiesimx = PyMieSimX.__main__:main
|
|
12
14
|
script: "{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation"
|
|
@@ -16,6 +18,7 @@ requirements:
|
|
|
16
18
|
- python {{ PY_VER }}*
|
|
17
19
|
- pip
|
|
18
20
|
- setuptools >=68
|
|
21
|
+
- setuptools-scm >=8
|
|
19
22
|
run:
|
|
20
23
|
- python {{ PY_VER }}*
|
|
21
24
|
- pymiesim >=5.6.4,<6
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Verify the installed Conda package from outside the source checkout."""
|
|
3
|
+
|
|
4
|
+
import importlib
|
|
5
|
+
import json
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
import subprocess
|
|
8
|
+
import sys
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def main() -> None:
|
|
12
|
+
prefix = Path(sys.prefix).resolve()
|
|
13
|
+
print(f"Verification Python: {sys.executable}", flush=True)
|
|
14
|
+
print(f"Import paths: {sys.path}", flush=True)
|
|
15
|
+
for manifest in (prefix / "conda-meta").glob("pymiesimx-*.json"):
|
|
16
|
+
record = json.loads(manifest.read_text())
|
|
17
|
+
print(f"Installed package: {record['name']} {record['version']}", flush=True)
|
|
18
|
+
print(f"Installed files: {record['files']}", flush=True)
|
|
19
|
+
module = importlib.import_module("PyMieSimX")
|
|
20
|
+
location = Path(module.__file__).resolve()
|
|
21
|
+
if not location.is_relative_to(prefix):
|
|
22
|
+
raise RuntimeError(f"Imported {location} outside the Conda test environment {prefix}")
|
|
23
|
+
launcher = prefix / ("Scripts/pymiesimx.exe" if sys.platform == "win32" else "bin/pymiesimx")
|
|
24
|
+
subprocess.run([str(launcher), "--help"], check=True)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
if __name__ == "__main__":
|
|
28
|
+
main()
|
|
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
|
{pymiesimx-0.1.6 → pymiesimx-0.1.7}/PyMieSimX/gui/pages/experiment/sections/configuration.py
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
|
|
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
|