Skip to content

Commit

Permalink
ensure versions match
Browse files Browse the repository at this point in the history
  • Loading branch information
gadfort committed Aug 23, 2024
1 parent 446c0b0 commit 6a5cc73
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ markers = [
"wheel: wheel only tests."
]
testpaths = "tests"
pythonpath = [
"siliconcompiler/setup"
]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Testing dependencies
#:test
pytest == 6.2.4
pytest == 7.1.0
flake8 == 7.0.0
2 changes: 1 addition & 1 deletion surelog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys


__version__ = "1.83"
__version__ = "1.84"


def has_system_surelog():
Expand Down
6 changes: 6 additions & 0 deletions tests/test_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ def test_get_bin_macos():
@patch('sys.platform', 'win32')
def test_get_bin_windows():
assert surelog.get_bin() == 'surelog.exe'


def test_version(monkeypatch):
import _tools

assert _tools.tools['surelog']["git-commit"] == f"v{surelog.__version__}"

0 comments on commit 6a5cc73

Please sign in to comment.