Skip to content

Commit f363c25

Browse files
Bump version to 1.1.0 in preparation for changes landing; the b1
designation indicates it is a pre-release and will be removed when the release is finalized.
1 parent ab32895 commit f363c25

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

doc/src/release_notes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ python-oracledb Release Notes
77

88
For deprecations, see :ref:`Deprecations <deprecations>`.
99

10+
oracledb 1.1.0 (TBD)
11+
--------------------
12+
13+
1014
oracledb 1.0.1 (June 2022)
1115
--------------------------
1216

src/oracledb/impl/thin/utils.pyx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ class ConnectConstants:
4141
self.sanitized_program_name = self._sanitize(self.program_name)
4242
self.sanitized_machine_name = self._sanitize(self.machine_name)
4343
self.sanitized_user_name = self._sanitize(self.user_name)
44-
version_tuple = tuple(int(s) for s in VERSION.split("."))
45-
major_num, minor_num, patch_num = version_tuple
44+
pattern = r"(?P<major_num>\d+)\.(?P<minor_num>\d+)\.(?P<patch_num>\d+)"
45+
match_dict = re.match(pattern, VERSION)
46+
major_num = int(match_dict["major_num"])
47+
minor_num = int(match_dict["minor_num"])
48+
patch_num = int(match_dict["patch_num"])
4649
self.full_version_num = \
4750
major_num << 24 | minor_num << 20 | patch_num << 12
4851

src/oracledb/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@
3030
# file doc/src/conf.py both reference this file directly.
3131
#------------------------------------------------------------------------------
3232

33-
__version__ = "1.0.1"
33+
__version__ = "1.1.0b1"

0 commit comments

Comments
 (0)