Skip to content

Commit 68853eb

Browse files
Removing the release candidate tag.
1 parent 8489c9c commit 68853eb

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

bitstring/__init__.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,14 @@
6363
import os
6464
import importlib
6565

66-
# Experimental ability to use tibs for core operations instead of bitarray.
67-
# Tibs's core is written in Rust and is still in beta. Use the environment variable
68-
# BITSTRING_USE_RUST_CORE=1 before importing the module to turn it on. The Rust core
69-
# is not recommended for general use yet.
66+
# New ability to use tibs for core operations instead of bitarray.
67+
# Tibs is written in Rust and is still in beta. Use the environment variable
68+
# BITSTRING_USE_RUST_CORE=1 before importing the module to turn it on.
7069
_env_core = os.getenv('BITSTRING_USE_RUST_CORE', '').strip().lower()
7170
_USE_RUST_CORE = _env_core in ('1', 'true', 'yes', 'on')
7271
if _USE_RUST_CORE:
73-
try:
74-
bitstore = importlib.import_module('bitstring.bitstore_tibs')
75-
bitstore_helpers = importlib.import_module('bitstring.bitstore_tibs_helpers')
76-
except Exception as e:
77-
raise e
78-
# raise ImportError("BITSTRING_USE_RUST_CORE is set, but the tibs library is unavailable.") from e
72+
bitstore = importlib.import_module('bitstring.bitstore_tibs')
73+
bitstore_helpers = importlib.import_module('bitstring.bitstore_tibs_helpers')
7974
else:
8075
bitstore = importlib.import_module('bitstring.bitstore_bitarray')
8176
bitstore_helpers = importlib.import_module('bitstring.bitstore_bitarray_helpers')

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "bitstring"
7-
version = "4.4.0rc1"
7+
version = "4.4.0"
88
license = { text = "MIT" }
99
authors = [
1010
{ name="Scott Griffiths", email="dr.scottgriffiths@gmail.com" },

0 commit comments

Comments
 (0)