Skip to content

Commit 78a2230

Browse files
authored
Merge pull request #18 from aosingh/dev/v1.2.2
dev/v1.2.2
2 parents 482dd4a + fd306e6 commit 78a2230

File tree

6 files changed

+28
-24
lines changed

6 files changed

+28
-24
lines changed

.github/workflows/sqlite_build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [macos-latest, windows-latest, ubuntu-latest]
12-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9']
12+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9', 'pypy3.10']
1313

1414
steps:
1515
- name: Checkout

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
billiard==4.2.0
1+
billiard==4.2.1
22
click==8.1.7
3-
msgpack==1.0.8
4-
pyzmq==26.0.3
5-
tornado==6.4.1
3+
msgpack==1.1.0
4+
pyzmq==26.2.0
5+
tornado==6.4.2

requirements_dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
coverage==7.5.3
1+
coverage
22
pip
33
build
44
wheel
5-
pytest==8.2.2
5+
pytest
66
setuptools
77
twine

setup.cfg

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = sqlite_rx
3-
version = 1.2.1
3+
version = 1.2.2
44
description = Python SQLite Client and Server
55
long_description = file: README.md
66
long_description_content_type = text/markdown
@@ -21,6 +21,7 @@ classifiers =
2121
Programming Language :: Python :: 3.10
2222
Programming Language :: Python :: 3.11
2323
Programming Language :: Python :: 3.12
24+
Programming Language :: Python :: 3.13
2425
Operating System :: POSIX :: Linux
2526
Operating System :: Unix
2627
Operating System :: Microsoft :: Windows
@@ -47,13 +48,13 @@ include_package_data = True
4748
scripts =
4849
bin/curve-keygen
4950
install_requires =
50-
billiard==4.2.0
51-
msgpack==1.0.8
52-
pyzmq==26.0.3
53-
tornado==6.4.1
51+
billiard==4.2.1
52+
msgpack==1.1.0
53+
pyzmq==26.2.0
54+
tornado==6.4.2
5455
test_require =
55-
pytest==8.2.2
56-
coverage==7.3.2
56+
pytest
57+
coverage
5758
python_requires = >=3.8
5859

5960
[options.packages.find]
@@ -68,7 +69,7 @@ console_scripts =
6869
[options.extras_require]
6970
cli =
7071
click==8.1.7
71-
rich==13.7.1
72+
rich==13.9.3
7273
pygments==2.18.0
7374

7475
[coverage:run]

setup.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
1515
long_description = f.read()
1616

17-
VERSION = '1.2.1'
17+
VERSION = '1.2.2'
1818
DISTNAME = 'sqlite_rx'
1919
LICENSE = 'MIT License'
2020
AUTHOR = 'Abhishek Singh'
@@ -25,15 +25,15 @@
2525

2626
PACKAGES = ['sqlite_rx']
2727

28-
INSTALL_REQUIRES = ['msgpack==1.0.8',
29-
'pyzmq==26.0.3',
30-
'tornado==6.4.1',
31-
'billiard==4.2.0']
28+
INSTALL_REQUIRES = ['msgpack==1.1.0',
29+
'pyzmq==26.2.0',
30+
'tornado==6.4.2',
31+
'billiard==4.2.1']
3232

33-
CLI_REQUIRES = ['click==8.1.7', 'rich==13.7.1', 'pygments==2.18.0']
33+
CLI_REQUIRES = ['click==8.1.7', 'rich==13.9.3', 'pygments==2.18.0']
3434

35-
TEST_REQUIRE = ['pytest==8.2.2',
36-
'coverage==7.5.3']
35+
TEST_REQUIRE = ['pytest',
36+
'coverage']
3737

3838
classifiers = [
3939
'Topic :: Database :: Database Engines/Servers',
@@ -49,6 +49,7 @@
4949
'Programming Language :: Python :: 3.10',
5050
'Programming Language :: Python :: 3.11',
5151
'Programming Language :: Python :: 3.12',
52+
'Programming Language :: Python :: 3.13',
5253
'Operating System :: POSIX :: Linux',
5354
'Operating System :: Unix',
5455
'Operating System :: Microsoft :: Windows',

sqlite_rx/server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import socket
55
import sqlite3
66
import sys
7+
import threading
78
import traceback
89
import zlib
910
from signal import SIGTERM, SIGINT, signal
@@ -190,8 +191,9 @@ def run(self):
190191

191192
LOG.info("SQLiteServer version %s", get_version())
192193
LOG.info("SQLiteServer (Tornado) i/o loop started..")
194+
LOG.info("Backup thread %s", self.back_up_recurring_thread)
193195

194-
if self.back_up_recurring_thread:
196+
if self.back_up_recurring_thread and not self.back_up_recurring_thread.is_alive():
195197
self.back_up_recurring_thread.start()
196198

197199
LOG.info("Ready to accept client connections on %s", self._bind_address)

0 commit comments

Comments
 (0)