Skip to content

Commit

Permalink
Prepare Release (#2)
Browse files Browse the repository at this point in the history
* downgrade nostr-sdk to be able to build

* regex bugfix
  • Loading branch information
andreasgriffin authored May 16, 2024
1 parent 1f95ac8 commit 89502b6
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
hooks:
- id: check-header
name: Check Python File Headers
entry: poetry run python tools/check_header.py
entry: python tools/check_header.py
language: system
types: [python]
files: '\.py$'
Expand Down
4 changes: 2 additions & 2 deletions bitcoin_safe/signature_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ def extract_prefix_and_version(filename: str) -> tuple[Optional[str], Optional[s
import re

# try with - separator
match = re.search(r"(.*?)-([\d\.]+[a-zA-Z0-9]*)-", filename)
match = re.search(r"(.*?)-([\d\.]+[a-zA-Z0-9]*)", filename)
if match:
return (match.group(1), match.group(2))

# try with _ separator
match = re.search(r"(.*?)_([\d\.]+[a-zA-Z0-9]*)_", filename)
match = re.search(r"(.*?)_([\d\.]+[a-zA-Z0-9]*)", filename)
if match:
return (match.group(1), match.group(2))
return (None, None)
Expand Down
44 changes: 22 additions & 22 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cryptography = "40.0.2"
hwi = ">=2.3.1"
appdirs = "1.4.4"
reportlab = "4.0.8"
nostr-sdk = "0.11.0"
nostr-sdk = "0.10.0"
cbor2 = "^5.6.0"
bitcoin-qrreader = ">=0.8.8"
bitcoin-usb = ">=0.1.14"
Expand All @@ -60,7 +60,7 @@ long_description = "More details about the app should go here.\n"
sources = [ "bitcoin_safe",]
test_sources = [ "tests",]
test_requires = [ "pytest",]
requires = [ "appdirs==1.4.4", "arrow==1.3.0", "asn1crypto==1.5.1", "atomicwrites==1.4.1", "attrs==23.2.0", "base58==2.1.1", "bdkpython==0.31.0", "binaryornot==0.4.4", "bitcoin-qrreader==0.8.7", "bitcoin-usb==0.1.13", "briefcase==0.3.17", "build==1.2.1", "cbor==1.0.0", "cbor2==5.6.3", "certifi==2024.2.2", "cffi==1.16.0", "cfgv==3.4.0", "chardet==5.2.0", "charset-normalizer==3.3.2", "click==8.1.7", "colorama==0.4.6", "cookiecutter==2.6.0", "cryptography==40.0.2", "defusedxml==0.7.1", "distlib==0.3.8", "dmgbuild==1.6.1", "ds-store==1.3.1", "ecdsa==0.19.0", "electrumsv-secp256k1==18.0.0", "filelock==3.14.0", "fonttools==4.51.0", "fpdf2==2.7.4", "gitdb==4.0.11", "gitpython==3.1.43", "hidapi==0.14.0", "hwi==2.3.1", "identify==2.5.36", "idna==3.7", "importlib-metadata==7.1.0", "iniconfig==2.0.0", "jinja2==3.1.4", "libusb1==3.1.0", "lxml==5.2.2", "mac-alias==2.2.2", "markdown-it-py==3.0.0", "markupsafe==2.1.5", "mdurl==0.1.2", "mnemonic==0.21", "mss==9.0.1", "nodeenv==1.8.0", "noiseprotocol==0.3.1", "nostr-sdk==0.8.0", "numpy==1.26.4", "opencv-python==4.9.0.80", "packaging==24.0", "pillow==9.5.0", "pip==24.0", "platformdirs==4.2.2", "pluggy==1.5.0", "pre-commit==3.7.1", "protobuf==4.25.3", "psutil==5.9.8", "py==1.11.0", "pyaes==1.6.1", "pycparser==2.22", "pygame==2.5.0", "pygments==2.18.0", "pyprof2calltree==1.4.5", "pyproject-hooks==1.1.0", "pyqt6==6.7.0", "pyqt6-charts==6.7.0", "pyqt6-charts-qt6==6.7.0", "pyqt6-qt6==6.7.0", "pyqt6-sip==13.6.0", "pyserial==3.5", "pytest==6.2.5", "pytest-qt==4.4.0", "python-bitcointx==1.1.4", "python-dateutil==2.9.0.post0", "python-gnupg==0.5.2", "python-slugify==8.0.4", "pyyaml==6.0", "pyzbar==0.1.9", "reportlab==4.0.8", "requests==2.31.0", "rich==13.7.1", "segno==1.5.3", "semver==3.0.2", "setuptools==69.5.1", "sip==6.8.3", "six==1.16.0", "smmap==5.0.1", "snakeviz==2.2.0", "text-unidecode==1.3", "toml==0.10.2", "tomli==2.0.1", "tomli-w==1.0.0", "tornado==6.4", "translate-toolkit==3.13.0", "types-python-dateutil==2.9.0.20240316", "typing-extensions==4.11.0", "urllib3==2.2.1", "virtualenv==20.26.2", "wheel==0.43.0", "zipp==3.18.2",]
requires = [ "appdirs==1.4.4", "arrow==1.3.0", "asn1crypto==1.5.1", "atomicwrites==1.4.1", "attrs==23.2.0", "base58==2.1.1", "bdkpython==0.31.0", "binaryornot==0.4.4", "bitcoin-qrreader==0.8.8", "bitcoin-usb==0.1.14", "briefcase==0.3.17", "build==1.2.1", "cbor==1.0.0", "cbor2==5.6.3", "certifi==2024.2.2", "cffi==1.16.0", "cfgv==3.4.0", "chardet==5.2.0", "charset-normalizer==3.3.2", "click==8.1.7", "colorama==0.4.6", "cookiecutter==2.6.0", "cryptography==40.0.2", "defusedxml==0.7.1", "distlib==0.3.8", "dmgbuild==1.6.1", "ds-store==1.3.1", "ecdsa==0.19.0", "electrumsv-secp256k1==18.0.0", "filelock==3.14.0", "fonttools==4.51.0", "fpdf2==2.7.4", "gitdb==4.0.11", "gitpython==3.1.43", "hidapi==0.14.0", "hwi==2.3.1", "identify==2.5.36", "idna==3.7", "importlib-metadata==7.1.0", "iniconfig==2.0.0", "jinja2==3.1.4", "libusb1==3.1.0", "lxml==5.2.2", "mac-alias==2.2.2", "markdown-it-py==3.0.0", "markupsafe==2.1.5", "mdurl==0.1.2", "mnemonic==0.21", "mss==9.0.1", "nodeenv==1.8.0", "noiseprotocol==0.3.1", "nostr-sdk==0.10.0", "numpy==1.26.4", "opencv-python-headless==4.9.0.80", "packaging==24.0", "pillow==9.5.0", "pip==24.0", "platformdirs==4.2.2", "pluggy==1.5.0", "pre-commit==3.7.1", "protobuf==4.25.3", "psutil==5.9.8", "py==1.11.0", "pyaes==1.6.1", "pycparser==2.22", "pygame==2.5.2", "pygments==2.18.0", "pyprof2calltree==1.4.5", "pyproject-hooks==1.1.0", "pyqt6==6.7.0", "pyqt6-charts==6.7.0", "pyqt6-charts-qt6==6.7.0", "pyqt6-qt6==6.7.0", "pyqt6-sip==13.6.0", "pyserial==3.5", "pytest==6.2.5", "pytest-qt==4.4.0", "pytest-xvfb==3.0.0", "python-bitcointx==1.1.4", "python-dateutil==2.9.0.post0", "python-gnupg==0.5.2", "python-slugify==8.0.4", "pyvirtualdisplay==3.0", "pyyaml==6.0", "pyzbar==0.1.9", "reportlab==4.0.8", "requests==2.31.0", "rich==13.7.1", "segno==1.5.3", "semver==3.0.2", "setuptools==69.5.1", "six==1.16.0", "smmap==5.0.1", "snakeviz==2.2.0", "text-unidecode==1.3", "toml==0.10.2", "tomli==2.0.1", "tomli-w==1.0.0", "tornado==6.4", "translate-toolkit==3.13.0", "types-python-dateutil==2.9.0.20240316", "typing-extensions==4.11.0", "urllib3==2.2.1", "virtualenv==20.26.2", "wheel==0.43.0", "zipp==3.18.2",]
icon = "tools/resources/icon"
resources = [ "bitcoin_safe/gui/locales/*.qm",]

Expand Down

0 comments on commit 89502b6

Please sign in to comment.