Skip to content

Commit

Permalink
Release v6.1.2.
Browse files Browse the repository at this point in the history
Python 3.12 now supported.
  • Loading branch information
capn-freako committed Jun 9, 2024
1 parent 45d61b7 commit 59716d4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "PipBERT"
description = "Serial communication link bit error rate tester simulator, written in Python."
version = "6.1.1"
version = "6.1.2"
# dynamic = ["version"]
authors = [ {name = "David Banas", email = "[email protected]"}
, {name = "David Patterson"}
Expand All @@ -16,8 +16,7 @@ requires-python = ">=3.9,<3.13"
license = {text = "BSD"}
dependencies = [
"kiwisolver",
# "PyIBIS-AMI>=6.1.0",
"PyIBIS-AMI>=5.1.4",
"PyIBIS-AMI>=6",
"pyside6<6.7",
"pyyaml>=6",
"scikit-rf>=0.29",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ def test_adapt(self, dut):
_ws = np.array(list(zip(*_weights[4 * len(_weights) // 5 :]))) # zip(*x) = unzip(x)
_means = list(map(lambda xs: sum(xs) / len(xs), _ws))
assert all(
list(map(lambda pr: all(abs(pr[0] - pr[1]) / pr[1] < 0.2), zip(_ws, _means)))
list(map(lambda pr: pr[1] == 0 or all(abs(pr[0] - pr[1]) / pr[1] < 0.2), zip(_ws, _means)))
), f"DFE adaptation is unstable! {max(_ws[-1])} {min(_ws[-1])}"
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ labels =
static = lint, format, flake8, type-check, docs

[testenv]
# basepython = python3.10
platform =
lin: linux
mac: darwin
Expand All @@ -21,6 +20,7 @@ deps =
# -rrequirements.txt
py311-mac: ../enable/dist/enable-6.2.0.dev0-cp311-cp311-macosx_10_9_universal2.whl
py312-mac: ../enable/dist/enable-6.1.0.dev0-cp312-cp312-macosx_12_0_arm64.whl
py312-mac: ../chaco/dist/chaco-6.0.0-cp312-cp312-macosx_12_0_arm64.whl
package = wheel
wheel_build_env = .pkg
commands =
Expand Down Expand Up @@ -79,12 +79,14 @@ commands =
pylint --disable=E0401 src/

[testenv:flake8]
skip_install = true
deps =
flake8
commands =
flake8 --ignore=E501,E272,E241,E222,E221 src/

[testenv:type-check]
skip_install = true
setenv =
MYPYPATH = {toxinidir}
deps =
Expand Down

0 comments on commit 59716d4

Please sign in to comment.