From 55dbdbb7cb1165353ffeeba63a73704a168dd11f Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Tue, 15 Oct 2024 16:48:07 +0200 Subject: [PATCH 1/3] xc7:place_constraints: apply format Signed-off-by: Karol Gugala --- f4pga/utils/xc7/create_place_constraints.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/f4pga/utils/xc7/create_place_constraints.py b/f4pga/utils/xc7/create_place_constraints.py index 6b78be501..6964262aa 100644 --- a/f4pga/utils/xc7/create_place_constraints.py +++ b/f4pga/utils/xc7/create_place_constraints.py @@ -1120,11 +1120,13 @@ def main( net=Path(net).open("r"), vpr_grid_map=vpr_grid_map, arch=arch, - db_root=environ.get( - "DATABASE_DIR", subprocess_run("prjxray-config", capture_output=True).stdout.decode("utf-8").strip() - ) - if db_root is None - else db_root, + db_root=( + environ.get( + "DATABASE_DIR", subprocess_run("prjxray-config", capture_output=True).stdout.decode("utf-8").strip() + ) + if db_root is None + else db_root + ), part=part, blif=Path(blif).open("r"), input=sys.stdin if input is None else Path(input).open("r"), From ce992c2ca398c7838c8bb98e5f8f364cd9cdecbc Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Tue, 15 Oct 2024 17:10:44 +0200 Subject: [PATCH 2/3] CI: Pipeline: add write permission to Docs Pipeline Signed-off-by: Karol Gugala --- .github/workflows/Pipeline.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index 707b2de5c..3b23f0e51 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -63,6 +63,8 @@ jobs: Docs: runs-on: ubuntu-latest name: '📓 Docs' + permissions: + contents: write steps: - name: 🧰 Checkout From 622e17bfd1b0eebcc7f270686f686047d648cd47 Mon Sep 17 00:00:00 2001 From: Karol Gugala Date: Tue, 15 Oct 2024 17:13:44 +0200 Subject: [PATCH 3/3] readthedocs: update config with OS definition Signed-off-by: Karol Gugala --- readthedocs.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/readthedocs.yml b/readthedocs.yml index 519abe1d9..c5913056c 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -19,14 +19,16 @@ version: 2 +build: + os: ubuntu-22.04 + tools: + python: "mambaforge-22.9" + sphinx: configuration: docs/conf.py formats: [] -python: - version: "3.7" - conda: environment: docs/environment.yml