From ac0e2fa8fb8d000a9ab27f3dc7d9fcaddced09a1 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 17:31:00 -0400 Subject: [PATCH 01/18] Update tox.ini --- tox.ini | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 4b9a48e6..7b5b4d8e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,16 @@ [tox] -envlist = py37, py38, py39, py310 +envlist = py37, py38, py39, py310, py311 -[testenv] +[testenv:{py37, py38, py39, py310}-{test, develop}] deps = gdsfactory numpy pytest scipy + +[testenv:{py311}-{test, develop}] +deps = + numpy + pytest + scipy commands = pytest -vv From c65a3089fe07ef8663099a3e75279e809ea1ba28 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 17:35:44 -0400 Subject: [PATCH 02/18] Update tox.ini --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 7b5b4d8e..848292b0 100644 --- a/tox.ini +++ b/tox.ini @@ -3,10 +3,10 @@ envlist = py37, py38, py39, py310, py311 [testenv:{py37, py38, py39, py310}-{test, develop}] deps = - gdsfactory numpy pytest scipy + gdsfactory [testenv:{py311}-{test, develop}] deps = From 5e98f2e8c39f7305c3649da000744c1d02302237 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 17:40:22 -0400 Subject: [PATCH 03/18] Update tox.ini --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 848292b0..eb281c9c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,14 @@ [tox] envlist = py37, py38, py39, py310, py311 -[testenv:{py37, py38, py39, py310}-{test, develop}] +[testenv:{py37, py38, py39, py310}] deps = numpy pytest scipy gdsfactory -[testenv:{py311}-{test, develop}] +[testenv:{py311}] deps = numpy pytest From 4f0641d309bd033983d0f2016c5d0b8099033dfc Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 17:49:30 -0400 Subject: [PATCH 04/18] Final commit to fix... hopefully --- .github/workflows/build-and-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1b5e3fb3..d5dbd04b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,11 +19,12 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --ignore=E501,E741,W503,W605 --max-complexity=12 --statistics - name: Run Tox - run: tox -e py + run: tox -e py${{ matrix.tox-env }} strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0'] + tox-env: ['py37', 'py38', 'py39', 'py310', 'py311'] name: build and test on: pull_request: From 26f83728ad5da650c684537eaebbdb476288b4e2 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 17:56:20 -0400 Subject: [PATCH 05/18] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index d5dbd04b..410c05d4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,12 +19,18 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --ignore=E501,E741,W503,W605 --max-complexity=12 --statistics - name: Run Tox - run: tox -e py${{ matrix.tox-env }} + run: tox -e ${{ matrix.tox-env[${{ matrix.python-version }}] }} strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0'] - tox-env: ['py37', 'py38', 'py39', 'py310', 'py311'] + tox-env: + - 3.7: py37 + - 3.8: py38 + - 3.9: py39 + - 3.10: py310 + - 3.11: py311 + name: build and test on: pull_request: From e8f902754ac7ff7032408630f5c73782d4a0b5c7 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 18:04:17 -0400 Subject: [PATCH 06/18] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 410c05d4..0e55ced3 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -25,11 +25,11 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0'] tox-env: - - 3.7: py37 - - 3.8: py38 - - 3.9: py39 - - 3.10: py310 - - 3.11: py311 + - '3.7': py37 + - '3.8': py38 + - '3.9': py39 + - '3.10': py310 + - '3.11.0': py311 name: build and test on: From dda82d5ac9f91ae02c53d6880d081d2029921dab Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 18:27:58 -0400 Subject: [PATCH 07/18] Update --- .github/workflows/build-and-test.yml | 8 +------- tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 0e55ced3..19b25fec 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,17 +19,11 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --ignore=E501,E741,W503,W605 --max-complexity=12 --statistics - name: Run Tox - run: tox -e ${{ matrix.tox-env[${{ matrix.python-version }}] }} + run: if [ ${{ matrix.python-version }} == "3.11.0" ]; then tox -e py; else tox -e py311; fi strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0'] - tox-env: - - '3.7': py37 - - '3.8': py38 - - '3.9': py39 - - '3.10': py310 - - '3.11.0': py311 name: build and test on: diff --git a/tox.ini b/tox.ini index eb281c9c..55d05252 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,12 @@ [tox] envlist = py37, py38, py39, py310, py311 -[testenv:{py37, py38, py39, py310}] +[testenv] deps = + gdsfactory numpy pytest scipy - gdsfactory [testenv:{py311}] deps = From 1a6b5a5f7da519b314809f263a359cee57b3a516 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 18:29:37 -0400 Subject: [PATCH 08/18] Swap conditions --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 19b25fec..4e4dc513 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,7 +19,7 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --ignore=E501,E741,W503,W605 --max-complexity=12 --statistics - name: Run Tox - run: if [ ${{ matrix.python-version }} == "3.11.0" ]; then tox -e py; else tox -e py311; fi + run: if [ ${{ matrix.python-version }} == "3.11.0" ]; then tox -e py311; else tox -e py; fi strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] From 2b77ef42760b3277080714078f06260d0c3ae859 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 18:34:05 -0400 Subject: [PATCH 09/18] Fix tests --- simphony/tests/test_simulation.py | 104 ++++++++++++++++-------------- 1 file changed, 56 insertions(+), 48 deletions(-) diff --git a/simphony/tests/test_simulation.py b/simphony/tests/test_simulation.py index 5b4e907b..3f0ae0f6 100644 --- a/simphony/tests/test_simulation.py +++ b/simphony/tests/test_simulation.py @@ -2,7 +2,11 @@ # Licensed under the terms of the MIT License # (see simphony/__init__.py for details) -import gdsfactory as gf +try: + import gdsfactory as gf + _has_gf = True +except ImportError: + _has_gf = False import numpy as np import pytest @@ -28,69 +32,71 @@ def mzi(): @pytest.fixture def mzi_gf(): + if _has_gf: + gc_input = siepic.GratingCoupler(name="gc_input") + y_splitter = siepic.YBranch(name="y_splitter") + wg_long = siepic.Waveguide(name="wg_long", length=150e-6) + wg_short = siepic.Waveguide(name="wg_short", length=50e-6) + y_recombiner = siepic.YBranch(name="y_recombiner") + gc_output = siepic.GratingCoupler(name="gc_output") - gc_input = siepic.GratingCoupler(name="gc_input") - y_splitter = siepic.YBranch(name="y_splitter") - wg_long = siepic.Waveguide(name="wg_long", length=150e-6) - wg_short = siepic.Waveguide(name="wg_short", length=50e-6) - y_recombiner = siepic.YBranch(name="y_recombiner") - gc_output = siepic.GratingCoupler(name="gc_output") + c = gf.Component("mzi") - c = gf.Component("mzi") + ysplit = c << y_splitter.component - ysplit = c << y_splitter.component + gcin = c << gc_input.component - gcin = c << gc_input.component + gcout = c << gc_output.component - gcout = c << gc_output.component + yrecomb = c << y_recombiner.component - yrecomb = c << y_recombiner.component + yrecomb.move(destination=(0, -55.5)) + gcout.move(destination=(-20.4, -55.5)) + gcin.move(destination=(-20.4, 0)) - yrecomb.move(destination=(0, -55.5)) - gcout.move(destination=(-20.4, -55.5)) - gcin.move(destination=(-20.4, 0)) + gc_input["pin2"].connect(y_splitter, gcin, ysplit) + gc_output["pin2"].connect(y_recombiner["pin1"], gcout, yrecomb) + y_splitter["pin2"].connect(wg_long) + y_recombiner["pin3"].connect(wg_long) + y_splitter["pin3"].connect(wg_short) + y_recombiner["pin2"].connect(wg_short) - gc_input["pin2"].connect(y_splitter, gcin, ysplit) - gc_output["pin2"].connect(y_recombiner["pin1"], gcout, yrecomb) - y_splitter["pin2"].connect(wg_long) - y_recombiner["pin3"].connect(wg_long) - y_splitter["pin3"].connect(wg_short) - y_recombiner["pin2"].connect(wg_short) + wg_long_ref = gf.routing.get_route_from_steps( + ysplit.ports["pin2"], + yrecomb.ports["pin3"], + steps=[{"dx": 91.75 / 2}, {"dy": -61}], + ) + wg_short_ref = gf.routing.get_route_from_steps( + ysplit.ports["pin3"], + yrecomb.ports["pin2"], + steps=[{"dx": 47.25 / 2}, {"dy": -50}], + ) - wg_long_ref = gf.routing.get_route_from_steps( - ysplit.ports["pin2"], - yrecomb.ports["pin3"], - steps=[{"dx": 91.75 / 2}, {"dy": -61}], - ) - wg_short_ref = gf.routing.get_route_from_steps( - ysplit.ports["pin3"], - yrecomb.ports["pin2"], - steps=[{"dx": 47.25 / 2}, {"dy": -50}], - ) + wg_long.path = wg_long_ref + print(wg_long.path) + wg_short.path = wg_short_ref - wg_long.path = wg_long_ref - print(wg_long.path) - wg_short.path = wg_short_ref + c.add(wg_long_ref.references) + c.add(wg_short_ref.references) - c.add(wg_long_ref.references) - c.add(wg_short_ref.references) + c.add_port("o1", port=gcin.ports["pin2"]) + c.add_port("o2", port=gcout.ports["pin2"]) - c.add_port("o1", port=gcin.ports["pin2"]) - c.add_port("o2", port=gcout.ports["pin2"]) + return (c, gc_input, gc_output) - return (c, gc_input, gc_output) + @pytest.fixture + def mzi_unconnected(): + gc_input = siepic.GratingCoupler() + y_splitter = siepic.YBranch() + wg_long = siepic.Waveguide(length=150e-6) + wg_short = siepic.Waveguide(length=50e-6) + y_recombiner = siepic.YBranch() + gc_output = siepic.GratingCoupler() -@pytest.fixture -def mzi_unconnected(): - gc_input = siepic.GratingCoupler() - y_splitter = siepic.YBranch() - wg_long = siepic.Waveguide(length=150e-6) - wg_short = siepic.Waveguide(length=50e-6) - y_recombiner = siepic.YBranch() - gc_output = siepic.GratingCoupler() + return (gc_input, y_splitter, wg_long, wg_short, y_recombiner, gc_output) - return (gc_input, y_splitter, wg_long, wg_short, y_recombiner, gc_output) + return @pytest.fixture @@ -322,6 +328,8 @@ def test_sampling_frequency(self, mzi): assert np.allclose(data1[0][0], data2[0][0], rtol=0, atol=1e-11) def test_layout_aware(self, mzi_gf): + if not _has_gf: + return c, gc_input, gc_output = mzi_gf with Simulation(fs=10e9, seed=117) as sim: From dfe15553960bba1ef6f75336747e5b2616af7c53 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 18:38:56 -0400 Subject: [PATCH 10/18] Update test_simulation.py --- simphony/tests/test_simulation.py | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/simphony/tests/test_simulation.py b/simphony/tests/test_simulation.py index 3f0ae0f6..35a780fa 100644 --- a/simphony/tests/test_simulation.py +++ b/simphony/tests/test_simulation.py @@ -84,19 +84,20 @@ def mzi_gf(): return (c, gc_input, gc_output) + return + - @pytest.fixture - def mzi_unconnected(): - gc_input = siepic.GratingCoupler() - y_splitter = siepic.YBranch() - wg_long = siepic.Waveguide(length=150e-6) - wg_short = siepic.Waveguide(length=50e-6) - y_recombiner = siepic.YBranch() - gc_output = siepic.GratingCoupler() +@pytest.fixture +def mzi_unconnected(): + gc_input = siepic.GratingCoupler() + y_splitter = siepic.YBranch() + wg_long = siepic.Waveguide(length=150e-6) + wg_short = siepic.Waveguide(length=50e-6) + y_recombiner = siepic.YBranch() + gc_output = siepic.GratingCoupler() - return (gc_input, y_splitter, wg_long, wg_short, y_recombiner, gc_output) + return (gc_input, y_splitter, wg_long, wg_short, y_recombiner, gc_output) - return @pytest.fixture From 980873fdc3ce4b08c10c62969232c4046685bd9c Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 18:40:45 -0400 Subject: [PATCH 11/18] Update test_simulation.py --- simphony/tests/test_simulation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/simphony/tests/test_simulation.py b/simphony/tests/test_simulation.py index 35a780fa..4387f0c4 100644 --- a/simphony/tests/test_simulation.py +++ b/simphony/tests/test_simulation.py @@ -99,7 +99,6 @@ def mzi_unconnected(): return (gc_input, y_splitter, wg_long, wg_short, y_recombiner, gc_output) - @pytest.fixture def oh(): x1 = siepic.GratingCoupler(name="x1") From dff72dbaa026f3c5de22491931f73004c75c3363 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 19:18:43 -0400 Subject: [PATCH 12/18] Add python version specific dependencies --- .github/workflows/build-and-test.yml | 5 ++--- tox.ini | 8 +------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 4e4dc513..31464cfe 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,12 +19,11 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --ignore=E501,E741,W503,W605 --max-complexity=12 --statistics - name: Run Tox - run: if [ ${{ matrix.python-version }} == "3.11.0" ]; then tox -e py311; else tox -e py; fi + run: tox -e py strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0'] - name: build and test on: pull_request: @@ -32,4 +31,4 @@ on: - master push: branches: - - master + - master \ No newline at end of file diff --git a/tox.ini b/tox.ini index 55d05252..c10f7fbf 100644 --- a/tox.ini +++ b/tox.ini @@ -3,13 +3,7 @@ envlist = py37, py38, py39, py310, py311 [testenv] deps = - gdsfactory - numpy - pytest - scipy - -[testenv:{py311}] -deps = + {py37, py38, py39, py310}: gdsfactory numpy pytest scipy From ac0934188f913d42d0c8d332467931480e8d94fe Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 19:21:09 -0400 Subject: [PATCH 13/18] Update tox.ini --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c10f7fbf..4d7f711b 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,10 @@ envlist = py37, py38, py39, py310, py311 [testenv] deps = - {py37, py38, py39, py310}: gdsfactory + {py37}: gdsfactory + {py38}: gdsfactory + {py39}: gdsfactory + {py310}: gdsfactory numpy pytest scipy From d2d58d45e758ed2dc3f3f008cc8ae3e9c6036b51 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 19:39:57 -0400 Subject: [PATCH 14/18] Update --- .github/workflows/build-and-test.yml | 2 +- tox.ini | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 31464cfe..fdd05dd8 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,7 +19,7 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --ignore=E501,E741,W503,W605 --max-complexity=12 --statistics - name: Run Tox - run: tox -e py + run: tox -e py'${{ matrix.python-version }}' strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] diff --git a/tox.ini b/tox.ini index 4d7f711b..c18df3da 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,12 @@ [tox] -envlist = py37, py38, py39, py310, py311 +envlist = 'py3.7', 'py3.8', 'py3.9', 'py3.10', 'py3.11' [testenv] deps = - {py37}: gdsfactory - {py38}: gdsfactory - {py39}: gdsfactory - {py310}: gdsfactory + {py3.7}: gdsfactory + {py3.8}: gdsfactory + {py3.9}: gdsfactory + {py3.10}: gdsfactory numpy pytest scipy From 4ed0354e61959f9aabe7ec88bd06d25e7036f069 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 19:41:30 -0400 Subject: [PATCH 15/18] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index fdd05dd8..717f0443 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,7 +19,7 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --ignore=E501,E741,W503,W605 --max-complexity=12 --statistics - name: Run Tox - run: tox -e py'${{ matrix.python-version }}' + run: tox -e 'py${{ matrix.python-version }}' strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] From fd1a72bdf0c3bfafb4de83fbdeb875e0d6d42acc Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 19:44:27 -0400 Subject: [PATCH 16/18] Fix version and test --- simphony/tests/test_models.py | 3 ++- tox.ini | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/simphony/tests/test_models.py b/simphony/tests/test_models.py index a4403f26..5e5e43aa 100644 --- a/simphony/tests/test_models.py +++ b/simphony/tests/test_models.py @@ -128,4 +128,5 @@ class TestModelComponent: def testcomponent(self, y1): y2 = siepic.YBranch(name="y2") - assert y1.component != y2.component + if hasattr(y1, "component"): + assert y1.component != y2.component diff --git a/tox.ini b/tox.ini index c18df3da..30a2198d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = 'py3.7', 'py3.8', 'py3.9', 'py3.10', 'py3.11' +envlist = 'py3.7', 'py3.8', 'py3.9', 'py3.10', 'py3.11.0' [testenv] deps = From de104ceb1bccaebf80164a718f2ab019d672ab01 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 19:47:15 -0400 Subject: [PATCH 17/18] update tp 3.11 --- .github/workflows/build-and-test.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 717f0443..f7ef113a 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] name: build and test on: pull_request: diff --git a/tox.ini b/tox.ini index 30a2198d..c18df3da 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = 'py3.7', 'py3.8', 'py3.9', 'py3.10', 'py3.11.0' +envlist = 'py3.7', 'py3.8', 'py3.9', 'py3.10', 'py3.11' [testenv] deps = From 855d9ebbbc46a1e8c1ed095dff3615c91fc654c6 Mon Sep 17 00:00:00 2001 From: SkandanC Date: Wed, 26 Oct 2022 20:15:39 -0400 Subject: [PATCH 18/18] Update tox.ini --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tox.ini b/tox.ini index c18df3da..9bcefe35 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,12 @@ [tox] envlist = 'py3.7', 'py3.8', 'py3.9', 'py3.10', 'py3.11' +[testenv:py3.11] +deps = + numpy + pytest + scipy + [testenv] deps = {py3.7}: gdsfactory