Skip to content

Commit

Permalink
⬆️ Begin updating to more recent depedencies
Browse files Browse the repository at this point in the history
  • Loading branch information
daquintero committed May 21, 2024
1 parent 9f26098 commit 6e90bd7
Show file tree
Hide file tree
Showing 292 changed files with 8,121 additions and 5,275 deletions.
142 changes: 0 additions & 142 deletions .github/workflows/create_release.yaml

This file was deleted.

68 changes: 68 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: "piel-tests"

on:
workflow_dispatch:
push:
branches: [ develop ]
pull_request:
branches:
- develop

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
submodules: 'recursive'
- name: Test pre-commit hooks
run: |
python -m pip install --upgrade pip
pip install pre-commit
pre-commit run # this should be really more agressive
build:
name: test ${{ matrix.python-version }} - ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
platform: [ubuntu-latest]
defaults:
run:
shell: bash
env: # Set environment variables for the whole job
PIP_ONLY_BINARY: gdstk
MPLBACKEND: agg
steps:
- uses: actions/checkout@v4

#----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.2
virtualenvs-create: true
virtualenvs-in-project: true

#----------------------------------------------
# install your root project, if required
#----------------------------------------------
- name: Install library
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
poetry --version
poetry install -E dev
#----------------------------------------------
# add matrix specifics and run test suite
#----------------------------------------------
- name: Run tests
run: |
# poetry run black . --check --diff
# poetry run ruff check piel --fix --exit-non-zero-on-fix
poetry run pytest -rA tests
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
- tomli

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "7c149cf0b9d2c4f7558de1ea5d2c137ca074d9d0"
rev: v0.4.4
hooks:
- id: ruff

Expand Down
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/autoapi/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ This page contains auto-generated API reference documentation [#f1]_.
/autoapi/piel/index
/autoapi/straight_waveguidecheckpoint/index

.. [#f1] Created with `sphinx-autoapi <https://github.com/readthedocs/sphinx-autoapi>`_
.. [#f1] Created with `sphinx-autoapi <https://github.com/readthedocs/sphinx-autoapi>`_
2 changes: 0 additions & 2 deletions docs/autoapi/piel/cli/core/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ Functions
.. py:function:: get_piel_install_directory()
Gets the piel installation directory.


2 changes: 0 additions & 2 deletions docs/autoapi/piel/cli/develop/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ Functions
Enters the custom piel nix environment with all the supported tools installed and configured packages.
Runs the nix-shell command on the piel/environment/nix/ directory.


2 changes: 0 additions & 2 deletions docs/autoapi/piel/cli/environment/environment/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ Functions
.. py:function:: environment()
Environment related commands.


2 changes: 0 additions & 2 deletions docs/autoapi/piel/cli/environment/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,3 @@ Functions

:returns: None.
:rtype: None


2 changes: 0 additions & 2 deletions docs/autoapi/piel/cli/environment/nix/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ Functions
.. py:function:: install_openlane(openlane2_directory: pathlib.Path = default_openlane2_directory)
CLI that installs both the openlane2 python interface and the OpenROAD binaries.


4 changes: 1 addition & 3 deletions docs/autoapi/piel/cli/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Attributes

.. py:data:: default_openlane2_directory
.. py:function:: echo_and_run_subprocess(command: list, **kwargs)
Expand Down Expand Up @@ -239,5 +239,3 @@ Attributes

:returns: None.
:rtype: None


2 changes: 0 additions & 2 deletions docs/autoapi/piel/cli/main/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,3 @@ Functions
CLI Interface for piel There are available many helper commands to help you set up your
environment and design your projects.


4 changes: 1 addition & 3 deletions docs/autoapi/piel/cli/utils/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Attributes

.. py:data:: default_openlane2_directory
.. py:function:: append_to_bashrc_if_does_not_exist(line: str)
Expand Down Expand Up @@ -79,5 +79,3 @@ Attributes

:returns: The piel home directory.
:rtype: pathlib.Path


3 changes: 0 additions & 3 deletions docs/autoapi/piel/config/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@ Module Contents
---------------

.. py:data:: piel_path_types
2 changes: 0 additions & 2 deletions docs/autoapi/piel/file_conversion/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ Functions


.. py:function:: read_vcd_to_json(file_path: piel.types.PathTypes)
2 changes: 0 additions & 2 deletions docs/autoapi/piel/file_system/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -359,5 +359,3 @@ Functions
:type file_name: str

:returns: None


Loading

0 comments on commit 6e90bd7

Please sign in to comment.