diff --git a/.github/workflows/python_bridge.yml b/.github/workflows/python_bridge.yml index cb42842..6b3365f 100644 --- a/.github/workflows/python_bridge.yml +++ b/.github/workflows/python_bridge.yml @@ -4,9 +4,6 @@ name: 'python bridge' # and macOS (bridge compiled on first use), Windows (prebuilt MSVC DLLs, and # a gcc build without them), the Python unit tests, the content of the # distribution, and the built wheel installed on every kind of system. -# -# VUnit is installed from the master branch of VUnit/vunit, which has the -# package support (VUnit/vunit#1221), until that is part of a VUnit release. on: push: @@ -99,7 +96,6 @@ jobs: run: | python -m venv "$RUNNER_TEMP/venv with space" echo "$RUNNER_TEMP/venv with space/bin" >> "$GITHUB_PATH" - "$RUNNER_TEMP/venv with space/bin/pip" install "vunit_hdl @ git+https://github.com/VUnit/vunit.git@master" --progress-bar off "$RUNNER_TEMP/venv with space/bin/pip" install -e . pytest --progress-bar off - name: '🚧 Python unit tests' @@ -176,7 +172,6 @@ jobs: run: | python -m venv "$RUNNER_TEMP/venv with space" echo "$RUNNER_TEMP/venv with space/Scripts" >> "$GITHUB_PATH" - "$RUNNER_TEMP/venv with space/Scripts/pip" install "vunit_hdl @ git+https://github.com/VUnit/vunit.git@master" --progress-bar off "$RUNNER_TEMP/venv with space/Scripts/pip" install -e . --progress-bar off # The simulator is accepted as x64, and a 32-bit executable of Windows itself is detected diff --git a/.github/workflows/wheel_tests.yml b/.github/workflows/wheel_tests.yml index 9c0fbef..9aae7bd 100644 --- a/.github/workflows/wheel_tests.yml +++ b/.github/workflows/wheel_tests.yml @@ -91,7 +91,6 @@ jobs: python -m venv "$RUNNER_TEMP/venv" scripts="$RUNNER_TEMP/venv/$([ "$RUNNER_OS" = Windows ] && echo Scripts || echo bin)" echo "$scripts" >> "$GITHUB_PATH" - "$scripts/pip" install "vunit_hdl @ git+https://github.com/VUnit/vunit.git@master" --progress-bar off "$scripts/pip" install dist/*.whl --progress-bar off - name: '🚧 Feature tests against the installed wheel' diff --git a/README.md b/README.md index de4404e..9c07872 100644 --- a/README.md +++ b/README.md @@ -71,10 +71,7 @@ check(call_integer_vector("gain", arg(integer_vector'(1, 2))) = integer_vector'( ## Requirements -- `vunit_hdl >= 5.0.0.dev12`, the version carrying the support for packages and simulator hooks - ([VUnit/vunit#1221](https://github.com/VUnit/vunit/pull/1221)). Until that is part of a release, - install VUnit from its master branch: - `pip install git+https://github.com/VUnit/vunit.git@master` +- VUnit 5.0.0.dev12 or later (`vunit_hdl` on PyPI), which pip installs with the package. - VHDL-2008 or later. - CPython 3.10 or later, standard (GIL) build, with a shared `libpython` (`--enable-shared`), which is what distribution Pythons, `actions/setup-python`, `uv` and `pyenv` provide by default. diff --git a/pyproject.toml b/pyproject.toml index f3c2336..9fa0513 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -23,8 +23,7 @@ classifiers = [ ] dependencies = [ "numpy", - # The VUnit adding packages and simulator hooks, VUnit/vunit#1221. Until that is - # part of a release: pip install git+https://github.com/VUnit/vunit.git@master + # The first VUnit with packages and simulator hooks, VUnit/vunit#1221 "vunit_hdl>=5.0.0.dev12", ]