From 8875c63e76856c1f6179aca0e4e42d87b2bc739c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= Date: Wed, 16 Apr 2025 17:15:51 -0400 Subject: [PATCH 1/4] fix flipped line in github pipeline seems to work in simple scenario quite irregular Would not work with a matrix in the job for example. --- .github/workflows/python_deploy_prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python_deploy_prod.yml b/.github/workflows/python_deploy_prod.yml index f106594..bab2fca 100644 --- a/.github/workflows/python_deploy_prod.yml +++ b/.github/workflows/python_deploy_prod.yml @@ -26,8 +26,8 @@ concurrency: jobs: call-workflow-conda-release: name: Publish production Conda package on JFrog Artifactory - uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@main if: ${{ github.event_name == 'release' || github.event.inputs.publish-conda == 'true' }} + uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@main with: virtual-repo-names: '["public-conda-prod"]' release-tag: ${{ github.event.release.tag_name || github.event.inputs.release-tag }} From a28035c92a128c6fc245fcc20bd887801c8fe3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= Date: Thu, 17 Apr 2025 12:37:52 -0400 Subject: [PATCH 2/4] go easy on pylint max-args as long as not too-many-positional-arguments --- pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylintrc b/pylintrc index c7593f0..7297237 100644 --- a/pylintrc +++ b/pylintrc @@ -343,7 +343,7 @@ exclude-too-few-public-methods= ignored-parents= # Maximum number of arguments for function / method. -max-args=6 +max-args=9 # as long as not hitting too-many-positional-arguments # Maximum number of attributes for a class (see R0902). max-attributes=16 From 639cca896efa497caec9ad2126faf3374d9c4a0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= Date: Sat, 19 Apr 2025 22:36:26 -0400 Subject: [PATCH 3/4] use "noremote" conda repo on Artifactory --- .github/workflows/python_deploy_prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python_deploy_prod.yml b/.github/workflows/python_deploy_prod.yml index bab2fca..b94c2ba 100644 --- a/.github/workflows/python_deploy_prod.yml +++ b/.github/workflows/python_deploy_prod.yml @@ -29,7 +29,7 @@ jobs: if: ${{ github.event_name == 'release' || github.event.inputs.publish-conda == 'true' }} uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@main with: - virtual-repo-names: '["public-conda-prod"]' + virtual-repo-names: '["public-noremote-conda-prod"]' release-tag: ${{ github.event.release.tag_name || github.event.inputs.release-tag }} secrets: JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }} From 01b126ef2abd9f21ef2ea03a39a23fb0b923e3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= Date: Wed, 23 Apr 2025 00:32:17 -0400 Subject: [PATCH 4/4] [GEOPY-2049] add missing entry_points in conda recipe --- recipe.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipe.yaml b/recipe.yaml index b505475..5716282 100644 --- a/recipe.yaml +++ b/recipe.yaml @@ -13,9 +13,13 @@ source: path: ../omf build: - number: 0 + number: 1 noarch: python script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + python: + entry_points: + - geoh5_to_omf = omf.scripts.geoh5_to_omf:main + - omf_to_geoh5 = omf.scripts.omf_to_geoh5:main requirements: host: