Browse Source

Merge branch 'master' into develop

tags/release_0.25.1
JackDandy 4 years ago
parent
commit
2276fd496e
  1. 13
      CHANGES.md
  2. 6
      sickbeard/databases/cache_db.py
  3. 2
      sickgear.py

13
CHANGES.md

@ -35,14 +35,19 @@
* Change prevent python-Levenshtein 0.12.1 on non Win due to membug
### 0.23.12 (2021-02-19 17:00:00 UTC)
* Change allow Python 3.8.8 and 3.9.2
### 0.23.11 (2021-02-04 23:30:00 UTC)
* Fix report correct number of items found during nzb search
* Change recognise custom spotweb providers
### 0.23.10 (2021-01-30 11:20:00 UTC)
* Fix change file date on non Windows
@ -53,7 +58,7 @@
### 0.23.8 (2020-12-31 20:40:00 UTC)
* Change update dateutil fallback zoneinfo to 2020f
* Fix notifiers Pushover and Boxcar2 under py3
* Fix need to restart SG for a change in TVChaosUK password to take effect
@ -76,7 +81,7 @@
### 0.23.5 (2020-12-05 13:45:00 UTC)
* Change improve dark theme text legibility with green/gold background under "Downloads" in view-shows/simple layout
### 0.23.4 (2020-12-02 11:30:00 UTC)

6
sickbeard/databases/cache_db.py

@ -21,8 +21,8 @@ from collections import OrderedDict
from .. import db
MIN_DB_VERSION = 1
MAX_DB_VERSION = 100001
TEST_BASE_VERSION = 5 # the base production db version, only needed for TEST db versions (>=100000)
MAX_DB_VERSION = 6
TEST_BASE_VERSION = None # the base production db version, only needed for TEST db versions (>=100000)
# Add new migrations at the bottom of the list; subclass the previous migration.
@ -130,4 +130,4 @@ class AddGenericFailureHandling(AddBacklogParts):
def execute(self):
self.do_query(self.queries['connection_fails'])
self.setDBVersion(100001, check_db_version=False)
self.finish()

2
sickgear.py

@ -39,7 +39,7 @@ warnings.filterwarnings('ignore', module=r'.*ssl_.*', message='.*SSLContext obje
warnings.filterwarnings('ignore', module=r'.*zoneinfo.*', message='.*file or directory.*')
warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 7)), ((3, 9, 0), (3, 9, 1))] # inclusive version ranges
versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 8)), ((3, 9, 0), (3, 9, 2))] # inclusive version ranges
if not any(list(map(lambda v: v[0] <= sys.version_info[:3] <= v[1], versions))) and not int(os.environ.get('PYT', 0)):
print('Python %s.%s.%s detected.' % sys.version_info[:3])
print('Sorry, SickGear requires a Python version %s' % ', '.join(map(

Loading…
Cancel
Save