diff --git a/pixi.lock b/pixi.lock index 72d11cb..13ee2e1 100644 --- a/pixi.lock +++ b/pixi.lock @@ -1509,7 +1509,7 @@ packages: name: keyrings-artifacts version: 0.4.3 path: . - sha256: abd92b576e4a033796725b6bb79317587649884efa17e400f885622098b17811 + sha256: c4b774dc3a436a45dc8f0a18e7e7b9d3edc7eda34565ff0481425077b95f86c2 requires_dist: - azure-identity>=1.17.1 - keyring>=16.0 diff --git a/pyproject.toml b/pyproject.toml index e21e1ca..a63f1ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -134,7 +134,11 @@ outputs = ["dist/*.whl", "dist/*.tar.gz"] [tool.pixi.feature.dev.tasks.recipe] # Generate a conda recipe using grayskull # Usage: pixi run -e dev recipe -cmd = "pixi exec grayskull pypi --strict-conda-forge keyrings.artifacts" +cmd = """pixi exec grayskull pypi --strict-conda-forge --use-v1-format keyrings.artifacts \ +&& sed -i 's/\\${{ PYTHON }}/python/g' keyrings.artifacts/recipe.yaml \ +&& sed -i 's/- keyrings.artifacts/- keyrings_artifacts/g' keyrings.artifacts/recipe.yaml \ +&& sed -i '/- keyrings-alt >=5.0.0/d' keyrings.artifacts/recipe.yaml +""" cwd = "recipe" [tool.pixi.feature.dev.tasks.release] diff --git a/recipe/keyrings.artifacts/recipe.yaml b/recipe/keyrings.artifacts/recipe.yaml index 4332c81..cf5349a 100644 --- a/recipe/keyrings.artifacts/recipe.yaml +++ b/recipe/keyrings.artifacts/recipe.yaml @@ -2,7 +2,7 @@ schema_version: 1 context: name: keyrings.artifacts - version: 0.4.1 + version: 0.4.3 package: name: ${{ name|lower }} @@ -10,12 +10,12 @@ package: source: url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/keyrings_artifacts-${{ version }}.tar.gz - sha256: 356ea7fe3dd6af432ec2cd2cd4b6bc30f89eebd5ba0900a1b0142fe9e3b4a585 + sha256: 970e84f1f62c0ebaf0c393da47f3277ecd2737f84cf7a658b75a93705156597a build: number: 0 noarch: python - script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + script: python -m pip install . -vv --no-deps --no-build-isolation requirements: host: @@ -27,13 +27,13 @@ requirements: - keyring >=16.0 - requests >=2.20.0 - azure-identity >=1.17.1 - - keyrings.alt >=5.0.2,<6 - - pycryptodomex >=3.20.0,<4 + - keyrings.alt >=5.0.0 + - pycryptodomex >=3.20.0 tests: - python: imports: - - keyrings.artifacts + - keyrings_artifacts - requirements: run: - pip