Skip to content

Commit

Permalink
Fix missing requirements to synthesize core (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotro888 authored Feb 12, 2024
1 parent c692d7d commit 137e47f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python3 -m venv venv
. venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt
python3 -m pip install -r requirements.txt
- name: Generate Verilog
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyrightconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

"stubPath": "./stubs",

"pythonVersion": "3.10",
"pythonVersion": "3.11",
"pythonPlatform": "Linux"
}
3 changes: 1 addition & 2 deletions stubs/amaranth/hdl/dsl.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ This type stub file was generated by pyright.
"""

from contextlib import _GeneratorContextManager, contextmanager
from typing import Callable, ContextManager, Iterator, NoReturn, OrderedDict, ParamSpec, TypeVar, Optional
from typing_extensions import Self
from typing import Callable, ContextManager, Iterator, NoReturn, OrderedDict, ParamSpec, TypeVar, Optional, Self
from transactron.utils import HasElaborate
from .ast import *
from .ast import Flattenable
Expand Down
3 changes: 1 addition & 2 deletions stubs/amaranth/lib/data.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ This type stub file was generated by pyright.

from abc import ABCMeta, abstractmethod
from collections.abc import Iterator, Mapping
from typing import TypeVar, Generic
from typing_extensions import Self
from typing import TypeVar, Generic, Self
from amaranth.hdl import *
from amaranth.hdl.ast import Assign, ShapeCastable, ValueCastable
from transactron.utils._typing import ShapeLike, ValueLike
Expand Down
3 changes: 1 addition & 2 deletions stubs/amaranth/lib/enum.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ This type stub file was generated by pyright.
"""

import enum as py_enum
from typing import Generic, Optional, TypeVar, overload
from typing_extensions import Self
from typing import Generic, Optional, TypeVar, Self, overload
from amaranth import *
from ..hdl.ast import Assign, ValueCastable, ShapeCastable, ValueLike

Expand Down
2 changes: 1 addition & 1 deletion transactron/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
Tuple,
TypeVar,
Protocol,
Self,
runtime_checkable,
)
from os import environ
from graphlib import TopologicalSorter
from typing_extensions import Self
from dataclasses import dataclass, replace
from amaranth import *
from amaranth import tracer
Expand Down

0 comments on commit 137e47f

Please sign in to comment.