Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
46c9c71
DEVOPS-693:Refactor pyproject.toml to integrate Pixi tool
saicheranb Sep 2, 2025
b7e0cc3
Update Python analysis workflow to use Pixi package manager and speci…
saicheranb Sep 2, 2025
c5267cf
Refactor dependencies in pyproject.toml
saicheranb Sep 3, 2025
741d77b
Update pyproject.toml: Refactor dependencies and change conda channel
saicheranb Sep 3, 2025
ee59e33
Refactor pyproject.toml: Update dependencies and reorganize project URLs
saicheranb Sep 3, 2025
9e1fa72
Update dependencies and refine environment configurations in pyprojec…
saicheranb Sep 3, 2025
bec4422
Update dependencies in pyproject.toml: Upgrade pydantic version and a…
saicheranb Sep 3, 2025
c281083
Update workflow references in python_analysis.yml to use latest reusa…
saicheranb Sep 3, 2025
da52b42
Update workflow references in python_analysis.yml to use DEVOPS-584 r…
saicheranb Sep 3, 2025
802f191
Update pyproject.toml
saicheranb Sep 3, 2025
52739cf
Update pyproject.toml
saicheranb Sep 3, 2025
8a8dfdc
Remove 'dev-local' environment from pixi configurations in pyproject.…
saicheranb Sep 3, 2025
d9dcb96
[DEVOPS-693] Revert "Remove 'dev-local' environment from pixi configu…
sebhmg Sep 3, 2025
533c46b
[DEVOPS-693] adjust pixi environments
sebhmg Sep 3, 2025
d777ca5
[DEVOPS-693] relocked with newer pixi (v1.54.1)
sebhmg Sep 4, 2025
4ce45f8
Merge pull request #155 from sebhmg/DEVOPS-693
sebhmg Sep 4, 2025
36e2e5f
[DEVOPS-693] installing with --lock and dev-local fails
sebhmg Sep 4, 2025
dfad9ff
[DEVOPS-693] remove dev-git environment: default is enough
sebhmg Sep 4, 2025
33e35a6
[DEVOPS-693] (cosmetics) remove extra empty lines
sebhmg Sep 4, 2025
6236b2b
[DEVOPS-693] get pydantic from conda, no pypi
sebhmg Sep 4, 2025
0e3a643
[DEVOPS-693] try dependency-overrides for local path
sebhmg Sep 4, 2025
ffc3522
[DEVOPS-693] with dependency-overrides, pixi always things the lock i…
sebhmg Sep 4, 2025
fdbf66e
[DEVOPS-693] add a specific task to run test with local deps
sebhmg Sep 4, 2025
cca244a
[DEVOPS-693] define a composite task to run test with local deps
sebhmg Sep 4, 2025
20669d7
[DEVOPS-693] accept space separated list of packages for tasks
sebhmg Sep 4, 2025
b5d876d
[DEVOPS-693] aesthetics: move test task first
sebhmg Sep 4, 2025
0abb3df
[DEVOPS-693] define one environment per python version
sebhmg Sep 4, 2025
d39cec6
[DEVOPS-693] aesthetics
sebhmg Sep 4, 2025
678e9da
[DEVOPS-693] use again github workflows from CI-tools @main
sebhmg Sep 5, 2025
b8e7b2a
[DEVOPS-693] simplify version specifiers
sebhmg Sep 5, 2025
2adcc2f
[DEVOPS-693] no need for jinja template in tests
sebhmg Sep 5, 2025
f27f446
[DEVOPS-693] split and trim dev dependencies
sebhmg Sep 5, 2025
9fa3c66
[DEVOPS-693] add package itself to the pixi envs
sebhmg Sep 10, 2025
5ce1667
[DEVOPS-693] always include self
sebhmg Sep 10, 2025
6392268
[DEVOPS-693] no need for a self feature
sebhmg Sep 10, 2025
713aa7d
[DEVOPS-693] add a task for a repl shell (ipython)
sebhmg Sep 12, 2025
a3c06b9
[DEVOPS-693] re-apply recommendations by pixi for lock file
sebhmg Sep 12, 2025
24bbf65
[DEVOPS-693] allow commit of .pixi/config.toml if any
sebhmg Sep 12, 2025
efd7b5b
[DEVOPS-693] remove irrelevant entries from gitattribute
sebhmg Sep 12, 2025
2496cc7
[DEVOPS-693] group features and add test-pyvers tasks
sebhmg Sep 13, 2025
daf5fd4
[DEVOPS-693] add geoh5 in keywords
sebhmg Sep 13, 2025
8f182b6
[DEVOPS-693] fix indirect dependency versions
sebhmg Sep 13, 2025
269d701
[DEVOPS-693] add earth-science as keyword in package meta info
sebhmg Sep 13, 2025
1c21afe
[DEVOPS-693] move pixi config to its own file
sebhmg Sep 13, 2025
b064403
[DEVOPS-693] minor: shorter comment
sebhmg Sep 13, 2025
0153cd8
[DEVOPS-693] aesthetics
sebhmg Sep 14, 2025
eef3922
[DEVOPS-693] add keywords and classifiers troves
sebhmg Sep 14, 2025
fbafab4
[DEVOPS-693] pixi lock again
sebhmg Sep 14, 2025
20f5a31
[DEVOPS-693] use pixi to run pylint in pre-commit
sebhmg Sep 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
*.geoh5 filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.min.js filter=lfs diff=lfs merge=lfs -text

# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
4 changes: 2 additions & 2 deletions .github/workflows/python_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
name: Static analysis
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-static_analysis.yml@main
with:
package-manager: 'conda'
package-manager: 'pixi'
app-name: 'geoapps_utils'
python-version: '3.10'
call-workflow-pytest:
name: Pytest
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-pytest.yml@main
with:
package-manager: 'conda'
package-manager: 'pixi'
python-versions: '["3.10", "3.11", "3.12"]'
os: '["windows-latest", "ubuntu-latest"]'
cache-number: 1
Expand Down
12 changes: 8 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,12 @@ dmypy.json
# geoh5 locks
*.geoh5.lock

# tempory generated files
pyproject-sha.toml
/poetry.lock
#version ignore
# auto-generated version file
geoapps_utils/_version.py

# not using poetry to lock, but pixi
poetry.lock

# pixi environments
.pixi/*
!.pixi/config.toml
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ repos:
hooks:
- id: pylint
name: pylint
entry: .\\devtools\\conda_env_pylint.bat
entry: pixi run --locked pylint
language: system
require_serial: true # pylint does its own parallelism
types: [python]
Expand All @@ -67,7 +67,7 @@ repos:
rev: v2.4.1
hooks:
- id: codespell
exclude: (-lock\.ya?ml|\benvironments/.*\.ya?ml|\.ipynb|^THIRD_PARTY_SOFTWARE\.rst)$
exclude: (-lock\.ya?ml|\benvironments/.*\.ya?ml|\.ipynb|^THIRD_PARTY_SOFTWARE\.rst|^pixi.lock)$
entry: codespell -I .codespellignore
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
Expand Down
39 changes: 0 additions & 39 deletions Install_or_Update.bat

This file was deleted.

11 changes: 0 additions & 11 deletions devtools/conda_env_pylint.bat

This file was deleted.

3 changes: 0 additions & 3 deletions environments/env-python-3.10.yml

This file was deleted.

3 changes: 0 additions & 3 deletions environments/env-python-3.11.yml

This file was deleted.

3 changes: 0 additions & 3 deletions environments/env-python-3.12.yml

This file was deleted.

107 changes: 0 additions & 107 deletions environments/py-3.10-linux-64-dev.conda.lock.yml

This file was deleted.

85 changes: 0 additions & 85 deletions environments/py-3.10-linux-64.conda.lock.yml

This file was deleted.

Loading
Loading