Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## v0.4.1-beta - September 20, 2025
* Improved macOS compatibility: The cryptography library detection has been updated to differentiate between Apple Silicon (arm64) and Intel (x86_64) chips. The library module now automatically selects the correct version (crypto_silicon.dylib or crypto_intel.dylib), resolving potential compatibility issues on newer machines.

## v0.4.0-beta - May 25, 2025
* Added new endpoint method:
* `get_monero_mining_stats()`: Returns a dictionary containing various statistics related to Monero mining, such as pool and network hashrates, network difficulty, block height, and other relevant pool/miner data.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Currently, QubiPy is in a very early development phase, so please take this into

Please visit the [Change log](https://github.com/QubiPy-Labs/QubiPy/blob/main/docs/changelog.md) to see all changes.

![release](https://img.shields.io/badge/release-v0.4.0--beta-blue)
![release](https://img.shields.io/badge/release-v0.4.1--beta-blue)
![python](https://img.shields.io/badge/python-3.10_%7C_3.11_%7C_3.12-blue)
![Python Package](https://github.com/QubiPy-Labs/QubiPy/actions/workflows/python-package.yml/badge.svg)
![Code Quality](https://github.com/QubiPy-Labs/QubiPy/actions/workflows/pylint.yml/badge.svg)
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## v0.4.1-beta - September 20, 2025
* Improved macOS compatibility: The cryptography library detection has been updated to differentiate between Apple Silicon (arm64) and Intel (x86_64) chips. The library module now automatically selects the correct version (crypto_silicon.dylib or crypto_intel.dylib), resolving potential compatibility issues on newer machines.

## v0.4.0-beta - May 25, 2025
* Added new endpoint method:
* `get_monero_mining_stats()`: Returns a dictionary containing various statistics related to Monero mining, such as pool and network hashrates, network difficulty, block height, and other relevant pool/miner data.
Expand Down
File renamed without changes.
Binary file added qubipy/crypto/crypto_silicon.dylib
Binary file not shown.
6 changes: 5 additions & 1 deletion qubipy/crypto/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@
import platform

system = platform.system()
machine = platform.machine()

if system == "Windows":
lib_name = "crypto.dll"
elif system == "Darwin":
lib_name = "crypto.dylib"
if machine == "arm64":
lib_name = "crypto_silicon.dylib" # For Apple Silicon
else:
lib_name = "crypto_intel.dylib" # For Intel
else:
lib_name = "crypto.so"

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HTTP Clients
requests==2.32.3
urllib3==2.2.3
requests==2.32.4
urllib3==2.5.0
certifi==2024.8.30
charset-normalizer==3.4.0
idna==3.10
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

__version__ = '0.4.0'
__version__ = '0.4.1'


with open("README.md", "r", encoding="utf-8") as fh:
Expand Down