From f1bd165c52b20ff261ee90b3be318e0959247a44 Mon Sep 17 00:00:00 2001 From: nichmor Date: Fri, 26 Apr 2024 10:48:09 +0300 Subject: [PATCH 1/2] release: v0.0.4 --- pixi.toml | 3 ++- pyproject.toml | 2 +- src/rattler_build_conda_compat/lint.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pixi.toml b/pixi.toml index 356666a..c2362b7 100644 --- a/pixi.toml +++ b/pixi.toml @@ -1,6 +1,6 @@ [project] name = "rattler-build-conda-compat" -version = "0.0.3" +version = "0.0.4" description = "A package for exposing rattler-build API for conda-smithy" authors = ["nichmor "] channels = ["conda-forge"] @@ -18,6 +18,7 @@ conda-build = "*" "ruamel.yaml" = "*" conda = ">=4.2" pygithub = ">=2,<3" +tomli = "*" [pypi-dependencies] rattler-build-conda-compat = { path = ".", editable = true} diff --git a/pyproject.toml b/pyproject.toml index b64c0a0..abd20a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,6 @@ description="A package for exposing rattler-build API for conda-smithy" readme = "README.md" authors = [{name = "Nichita Morcotilo", email = "nichita@prefix.dev"}] license = {file = "LICENSE.txt"} -version = "0.0.3" +version = "0.0.4" requires-python = ">=3.8" diff --git a/src/rattler_build_conda_compat/lint.py b/src/rattler_build_conda_compat/lint.py index 5e9c8ac..5045043 100644 --- a/src/rattler_build_conda_compat/lint.py +++ b/src/rattler_build_conda_compat/lint.py @@ -2,7 +2,7 @@ from inspect import cleandoc import os.path -import tomllib +import tomli import github import ruamel.yaml from typing import Any, Mapping, Sequence @@ -563,7 +563,7 @@ def run_conda_forge_specific( # linter will rerun on the next commit anyway return hints_toml_str = hints_toml_req.content.decode("utf-8") - specific_hints = tomllib.loads(hints_toml_str)["hints"] + specific_hints = tomli.loads(hints_toml_str)["hints"] for rq in build_reqs + host_reqs + run_reqs: dep = rq.split(" ")[0].strip() From 51042bf39e9c032c289f4ada18699ea1651da02f Mon Sep 17 00:00:00 2001 From: nichmor Date: Fri, 26 Apr 2024 10:49:56 +0300 Subject: [PATCH 2/2] misc: update lockfile --- pixi.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pixi.lock b/pixi.lock index 392a272..fbacbfa 100644 --- a/pixi.lock +++ b/pixi.lock @@ -5410,9 +5410,9 @@ packages: timestamp: 1713391855237 - kind: pypi name: rattler-build-conda-compat - version: 0.0.3 + version: 0.0.4 path: . - sha256: 86573463a4d85e97bb765a5eca0423c016664e1588519468255fc6dc72530a8d + sha256: 45202b9ded422c1a8d4420f43f1a1885d63690fe748f40c3a03ab52d8bbcf334 requires_python: '>=3.8' editable: true - kind: conda