Browse Source

Set version to 3.2.0-develop and drop Python 3.5 support

pull/1614/head
Safihre 5 years ago
parent
commit
f6c15490cc
  1. 2
      .github/workflows/black.yml
  2. 3
      .travis.yml
  3. 2
      INSTALL.txt
  4. 2
      README.md
  5. 8
      SABnzbd.py
  6. 2
      sabnzbd/version.py

2
.github/workflows/black.yml

@ -16,5 +16,5 @@ jobs:
tools tools
tests tests
--line-length=120 --line-length=120
--target-version=py35 --target-version=py36
--check --check

3
.travis.yml

@ -4,9 +4,6 @@ matrix:
# On macOS we only test the semi-recent version that is included # On macOS we only test the semi-recent version that is included
- os: linux - os: linux
language: python language: python
python: "3.5"
- os: linux
language: python
python: "3.6" python: "3.6"
- os: linux - os: linux
language: python language: python

2
INSTALL.txt

@ -52,7 +52,7 @@ Specific guides to install from source are available for Windows and macOS:
https://sabnzbd.org/wiki/installation/install-macos https://sabnzbd.org/wiki/installation/install-macos
https://sabnzbd.org/wiki/installation/install-from-source-windows https://sabnzbd.org/wiki/installation/install-from-source-windows
Only Python 3.5 and above is supported. Only Python 3.6 and above is supported.
On Linux systems you need to install: On Linux systems you need to install:
par2 unrar unzip python3-setuptools python3-pip par2 unrar unzip python3-setuptools python3-pip

2
README.md

@ -18,7 +18,7 @@ If you want to know more you can head over to our website: https://sabnzbd.org.
SABnzbd has a few dependencies you'll need before you can get running. If you've previously run SABnzbd from one of the various Linux packages, then you likely already have all the needed dependencies. If not, here's what you're looking for: SABnzbd has a few dependencies you'll need before you can get running. If you've previously run SABnzbd from one of the various Linux packages, then you likely already have all the needed dependencies. If not, here's what you're looking for:
- `python` (Python 3.5 and higher, often called `python3`) - `python` (Python 3.6 and higher, often called `python3`)
- Python modules listed in `requirements.txt` - Python modules listed in `requirements.txt`
- `par2` (Multi-threaded par2 installation guide can be found [here](https://sabnzbd.org/wiki/installation/multicore-par2)) - `par2` (Multi-threaded par2 installation guide can be found [here](https://sabnzbd.org/wiki/installation/multicore-par2))
- `unrar` (make sure you get the "official" non-free version of unrar) - `unrar` (make sure you get the "official" non-free version of unrar)

8
SABnzbd.py

@ -17,8 +17,8 @@
import sys import sys
if sys.hexversion < 0x03050000: if sys.hexversion < 0x03060000:
print("Sorry, requires Python 3.5 or above") print("Sorry, requires Python 3.6 or above")
print("You can read more at: https://sabnzbd.org/python3") print("You can read more at: https://sabnzbd.org/python3")
sys.exit(1) sys.exit(1)
@ -1171,10 +1171,6 @@ def main():
sabnzbd.encoding.CODEPAGE, sabnzbd.encoding.CODEPAGE,
) )
# TODO: Remove after 3.1.0
if sys.hexversion < 0x03060000:
logging.warning_helpful("Python 3.5 is end-of-life. SABnzbd 3.2.0 will only run on Python 3.6 and above.")
# SSL Information # SSL Information
logging.info("SSL version = %s", ssl.OPENSSL_VERSION) logging.info("SSL version = %s", ssl.OPENSSL_VERSION)

2
sabnzbd/version.py

@ -4,5 +4,5 @@
# You MUST use double quotes (so " and not ') # You MUST use double quotes (so " and not ')
__version__ = "3.1.0-develop" __version__ = "3.2.0-develop"
__baseline__ = "unknown" __baseline__ = "unknown"

Loading…
Cancel
Save