From e9ce5fcdc3c3cedd8a3386c3e65da89ad2a457be Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 17 Mar 2021 10:10:22 -0500 Subject: [PATCH 1/3] make executable --- cascadetoml.py | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 cascadetoml.py diff --git a/cascadetoml.py b/cascadetoml.py old mode 100644 new mode 100755 index f309cc4..bf3b6c5 --- a/cascadetoml.py +++ b/cascadetoml.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # SPDX-FileCopyrightText: Copyright (c) 2021 Scott Shawcroft for Adafruit Industries # # SPDX-License-Identifier: MIT From e285dea357aa34061c4394e5310652182c89be03 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Mon, 28 Mar 2022 14:42:05 -0500 Subject: [PATCH 2/3] pin click, typer click 8.1.0 is incompatible with typer. While there's an open PR to fix it in typer, we don't know when the fix will be released. So, just fix it by pinning known-compatible versions, including the transitive dependency we didn't explicitly list before. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9d254eb..450ac37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,8 @@ requires = [ "parse", "tabulate", "tomlkit>=0.8.0", - "typer" + "typer==0.4.0", + "click==8.0.4" ] [tool.flit.scripts] From 9b73b25d640cee56ea55fd4425f2302b07a773b3 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Mon, 28 Mar 2022 16:34:53 -0500 Subject: [PATCH 3/3] ironically, bump black --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8e87341..2e92c2a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: - repo: https://github.com/python/black - rev: 20.8b1 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/fsfe/reuse-tool