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
2 changes: 1 addition & 1 deletion .github/workflows/sqlite_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9', 'pypy3.10']

steps:
- name: Checkout
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
billiard==4.2.0
billiard==4.2.1
click==8.1.7
msgpack==1.0.8
pyzmq==26.0.3
tornado==6.4.1
msgpack==1.1.0
pyzmq==26.2.0
tornado==6.4.2
4 changes: 2 additions & 2 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
coverage==7.5.3
coverage
pip
build
wheel
pytest==8.2.2
pytest
setuptools
twine
17 changes: 9 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = sqlite_rx
version = 1.2.1
version = 1.2.2
description = Python SQLite Client and Server
long_description = file: README.md
long_description_content_type = text/markdown
Expand All @@ -21,6 +21,7 @@ classifiers =
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Operating System :: POSIX :: Linux
Operating System :: Unix
Operating System :: Microsoft :: Windows
Expand All @@ -47,13 +48,13 @@ include_package_data = True
scripts =
bin/curve-keygen
install_requires =
billiard==4.2.0
msgpack==1.0.8
pyzmq==26.0.3
tornado==6.4.1
billiard==4.2.1
msgpack==1.1.0
pyzmq==26.2.0
tornado==6.4.2
test_require =
pytest==8.2.2
coverage==7.3.2
pytest
coverage
python_requires = >=3.8

[options.packages.find]
Expand All @@ -68,7 +69,7 @@ console_scripts =
[options.extras_require]
cli =
click==8.1.7
rich==13.7.1
rich==13.9.3
pygments==2.18.0

[coverage:run]
Expand Down
17 changes: 9 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

VERSION = '1.2.1'
VERSION = '1.2.2'
DISTNAME = 'sqlite_rx'
LICENSE = 'MIT License'
AUTHOR = 'Abhishek Singh'
Expand All @@ -25,15 +25,15 @@

PACKAGES = ['sqlite_rx']

INSTALL_REQUIRES = ['msgpack==1.0.8',
'pyzmq==26.0.3',
'tornado==6.4.1',
'billiard==4.2.0']
INSTALL_REQUIRES = ['msgpack==1.1.0',
'pyzmq==26.2.0',
'tornado==6.4.2',
'billiard==4.2.1']

CLI_REQUIRES = ['click==8.1.7', 'rich==13.7.1', 'pygments==2.18.0']
CLI_REQUIRES = ['click==8.1.7', 'rich==13.9.3', 'pygments==2.18.0']

TEST_REQUIRE = ['pytest==8.2.2',
'coverage==7.5.3']
TEST_REQUIRE = ['pytest',
'coverage']

classifiers = [
'Topic :: Database :: Database Engines/Servers',
Expand All @@ -49,6 +49,7 @@
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Operating System :: Microsoft :: Windows',
Expand Down
4 changes: 3 additions & 1 deletion sqlite_rx/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import socket
import sqlite3
import sys
import threading
import traceback
import zlib
from signal import SIGTERM, SIGINT, signal
Expand Down Expand Up @@ -190,8 +191,9 @@ def run(self):

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

if self.back_up_recurring_thread:
if self.back_up_recurring_thread and not self.back_up_recurring_thread.is_alive():
self.back_up_recurring_thread.start()

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