From 0158fec7a7848cb26a68768cc452dccd4c7ac4bb Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 13 Dec 2021 12:19:31 -0800 Subject: [PATCH] Bump baseline to Python 3.7 3.5 was EOL 2020-09 3.6 is EOL in 2021-12 --- .drone.jsonnet | 4 +--- .travis.yml | 40 ---------------------------------------- README.md | 34 +++++++++++++++++----------------- 3 files changed, 18 insertions(+), 60 deletions(-) delete mode 100644 .travis.yml diff --git a/.drone.jsonnet b/.drone.jsonnet index ddc2540..a3a72f7 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -32,9 +32,7 @@ local test_with(version, use_network=false) = { }; [ - test_with("3.6"), - test_with("3.6", use_network=true), - test_with("3.7"), + test_with("3.7", use_network=true), test_with("3.8"), test_with("3.9"), test_with("3.10"), diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9e964f2..0000000 --- a/.travis.yml +++ /dev/null @@ -1,40 +0,0 @@ -dist: xenial -sudo: false -language: python -python: - - "3.5" - - "3.6" - - "3.7" - - "3.8" - -addons: - apt: - packages: - # For SysDNS tests - - unbound-host - -install: - - pip install -vr requirements.txt - -# Some plugins use external APIs, and can cause tests to fail due to them being slow/down. -# --no-network disables these, and we can still allow tests that have network access to fail. -env: - - TEST_ARGS="--no-network" - - TEST_ARGS="" - -script: - - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo "Skipping tests that require secret API keys"; export SKIP_PLUGINS=("--exclude=./LastFM" "--exclude=./NuWeather" "--exclude=./AQI"); fi' - - export SYSDNS_HOST_COMMAND="/usr/bin/unbound-host" - - supybot-test -c --plugins-dir=. $TEST_ARGS ${SKIP_PLUGINS[@]} --exclude=./Weather --exclude=./FML - -notifications: - email: false - -matrix: - allow_failures: - - env: TEST_ARGS="" - -branches: - except: - - /^archive(-|\/).*$/ - - /^wip\/.*$/ diff --git a/README.md b/README.md index 36a97d0..b4c0ed6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # SupyPlugins [![Travis-CI Build Status](https://travis-ci.org/jlu5/SupyPlugins.svg?branch=master)](https://travis-ci.org/jlu5/SupyPlugins) -![Supported Python versions](https://img.shields.io/badge/python-3.5%20and%20later-blue.svg) +![Supported Python versions](https://img.shields.io/badge/python-3.7%20and%20later-blue.svg) My collection of plugins for [Limnoria](https://github.com/ProgVal/Limnoria). @@ -12,7 +12,7 @@ The recommended way of fetching plugins in this repository is to clone the git r and add the folder to your bot's `config directories.plugins`. -**You will need a working copy of [Limnoria](https://github.com/ProgVal/Limnoria) running on Python 3.5+.** Python 2 is no longer supported. +**You will need a working copy of [Limnoria](https://github.com/ProgVal/Limnoria) running on Python >= 3.7** (prefer the latest Python 3.x when available). If you are using a recent version of Limnoria's PluginDownloader, you can also fetch [individual plugins](#list-of-plugins) by running: @@ -31,52 +31,52 @@ Please note that this list may not always be up to date; your best bet is to act Most of these plugins also have their own READMEs in their folders; you can usually find a usage demonstration or further explanation of what they do. -##### AQI +### AQI - Retrieves [air quality index](https://en.wikipedia.org/wiki/Air_quality_index) info from the [World Air Quality Index project](https://aqicn.org). -##### LastFM +### LastFM - LastFM plugin, forked from [krf/supybot-lastfm](https://github.com/krf/supybot-lastfm). -##### MCInfo +### MCInfo - Fetches information from [minecraft.gamepedia.com](https://minecraft.gamepedia.com/). - **Requires:** [Beautiful Soup 4](http://www.crummy.com/software/BeautifulSoup/bs4/doc/) -##### [NoTrigger](NoTrigger/README.md) +### [NoTrigger](NoTrigger/README.md) - Anti-abuse script; prevents the bot from triggering other bots by modifying its output slightly. For more information, see [NoTrigger/README.md](NoTrigger/README.md). -##### [NuWeather](NuWeather/README.md) +### [NuWeather](NuWeather/README.md) - A weather plugin for Limnoria supporting multiple backends. -##### [OperUp](OperUp/README.md) +### [OperUp](OperUp/README.md) - Allows Supybot to oper up on configured networks, automatically (on connect) and on demand. -##### [PkgInfo](PkgInfo/README.md) +### [PkgInfo](PkgInfo/README.md) - Fetches package information from various Linux and BSD distros' software repositories. - **Requires:** [Beautiful Soup 4](http://www.crummy.com/software/BeautifulSoup/bs4/doc/) -##### QuakeNet +### QuakeNet - Log in to Quakenet's Q Service via CHALLENGEAUTH. This plugin was written by request and not officially supported. -##### Restart +### Restart - **EXPERIMENTAL**: provides a command to restart Limnoria from IRC. -##### [RelayNext](RelayNext/README.md) +### [RelayNext](RelayNext/README.md) - Next generation relayer plugin, designed with two-way relays in mind. -##### RhymeZone +### RhymeZone - Fetches rhymes from http://rhymezone.com/. - **Requires:** [Beautiful Soup 4](http://www.crummy.com/software/BeautifulSoup/bs4/doc/) -##### SupyMisc +### SupyMisc - Some assorted commands that don't seem to fit anywhere else. -##### SysDNS +### SysDNS - An alternative to Supybot's built-in DNS function, using the `host` DNS lookup utility on the host machine. * **Requires:** `host` DNS lookup binary (as in `/usr/bin/host`) -##### [TranslateParty](TranslateParty/README.md) +### [TranslateParty](TranslateParty/README.md) - Translates text through Google Translate multiple times in order to get amusing results. -##### Wikifetch +### Wikifetch - Fork of [ProgVal's Wikipedia plugin](https://github.com/ProgVal/Supybot-plugins), with support for other wikis (via a `--site` option) and other improvements. - **Requires:** [lxml](https://lxml.de/installation.html)