From 9760f23e9cd025bd24ec44c4d2d63c5232d6a2ca Mon Sep 17 00:00:00 2001 From: Richard Lin Date: Sun, 22 Feb 2026 16:22:10 -0800 Subject: [PATCH 1/3] cleaning --- .github/workflows/pr-python.yml | 10 ++++------ .github/workflows/pr-scala.yml | 2 +- README.md | 2 ++ pyproject.toml | 4 ++++ requirements.txt | 7 ------- 5 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 requirements.txt diff --git a/.github/workflows/pr-python.yml b/.github/workflows/pr-python.yml index 1b2b78755..201c7bcc3 100644 --- a/.github/workflows/pr-python.yml +++ b/.github/workflows/pr-python.yml @@ -43,7 +43,7 @@ jobs: - name: install black run: | - pip install -r requirements.txt + pip install -e .[dev] pip install black - name: black run: black --check . @@ -60,7 +60,7 @@ jobs: - name: install mypy run: | - pip install -r requirements.txt + pip install -e .[dev] pip install mypy mypy-protobuf mypy --version - name: mypy @@ -76,8 +76,6 @@ jobs: with: python-version: '3.13' - - name: install dependencies - run: pip install -r requirements.txt - name: package run: python -m pip install . - name: unittest @@ -96,7 +94,7 @@ jobs: python-version: '3.13' - name: install dependencies - run: pip install -r requirements.txt + run: pip install -e . - name: unittest run: python -m unittest discover @@ -111,6 +109,6 @@ jobs: python-version: '3.10' - name: install dependencies - run: pip install -r requirements.txt + run: pip install -e . - name: unittest run: python -m unittest discover diff --git a/.github/workflows/pr-scala.yml b/.github/workflows/pr-scala.yml index 196aec031..bc520390c 100644 --- a/.github/workflows/pr-scala.yml +++ b/.github/workflows/pr-scala.yml @@ -39,7 +39,7 @@ jobs: - name: Setup sbt launcher uses: sbt/setup-sbt@v1 - name: install dependencies - run: pip install -r requirements.txt + run: pip install -e . - name: sbt test run: cd compiler && sbt -v +test diff --git a/README.md b/README.md index 1be9c2c9a..907ec28ce 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,8 @@ See the [setup documentation](setup.md), then work through building a blinky boa **Setup tl;dr**: install the Python package from pip: `pip install edg`, and optionally run the [IDE plugin with block diagram visualizer](setup.md#ide-setup). +Building from source: `pip install .` at the repository root. + ## Additional Notes diff --git a/pyproject.toml b/pyproject.toml index 67eaf4c5f..2d2153bf5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,12 +21,16 @@ dependencies = [ "sexpdata==0.0.3", "Deprecated", "typing_extensions >= 4.4.0", + "pydantic == 2.8.2", ] requires-python = ">=3.9" [project.optional-dependencies] dev = [ "black", + "typing_extensions", + "types-Deprecated==1.2.9.20240311", + "types-protobuf" ] [tool.setuptools] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 9f66faa16..000000000 --- a/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -protobuf >= 3.20.0 -typing_extensions -sexpdata==0.0.3 -Deprecated==1.2.14 -types-Deprecated==1.2.9.20240311 -types-protobuf -pydantic == 2.8.2 From f5ffbd6eb93ea98e0ba329b06b0f76d8aefb93a0 Mon Sep 17 00:00:00 2001 From: Richard Lin Date: Sun, 22 Feb 2026 16:28:04 -0800 Subject: [PATCH 2/3] cleaning --- .github/workflows/pr-python.yml | 1 - README.md | 2 +- pyproject.toml | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-python.yml b/.github/workflows/pr-python.yml index 201c7bcc3..2ac32c406 100644 --- a/.github/workflows/pr-python.yml +++ b/.github/workflows/pr-python.yml @@ -44,7 +44,6 @@ jobs: - name: install black run: | pip install -e .[dev] - pip install black - name: black run: black --check . diff --git a/README.md b/README.md index 907ec28ce..8009c5e6a 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ See the [setup documentation](setup.md), then work through building a blinky boa **Setup tl;dr**: install the Python package from pip: `pip install edg`, and optionally run the [IDE plugin with block diagram visualizer](setup.md#ide-setup). -Building from source: `pip install .` at the repository root. +Building from source: `pip install .` at the repository root. ## Additional Notes diff --git a/pyproject.toml b/pyproject.toml index 2d2153bf5..223b49d8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ keywords = ["PCB", "hardware description language"] dependencies = [ "protobuf >= 3.20.0", "sexpdata==0.0.3", - "Deprecated", + "Deprecated==1.2.14", "typing_extensions >= 4.4.0", "pydantic == 2.8.2", ] @@ -28,7 +28,6 @@ requires-python = ">=3.9" [project.optional-dependencies] dev = [ "black", - "typing_extensions", "types-Deprecated==1.2.9.20240311", "types-protobuf" ] From efc6de05c8e71f4f429064d0e44ff83f0f38a577 Mon Sep 17 00:00:00 2001 From: Richard Lin Date: Sun, 22 Feb 2026 16:30:07 -0800 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8009c5e6a..d4b765bd0 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ See the [setup documentation](setup.md), then work through building a blinky boa **Setup tl;dr**: install the Python package from pip: `pip install edg`, and optionally run the [IDE plugin with block diagram visualizer](setup.md#ide-setup). -Building from source: `pip install .` at the repository root. +Building from source: `pip install .` at the repository root. ## Additional Notes