Bump min python version to 3.7

This commit is contained in:
Ivan Habunek 2023-06-22 11:51:25 +02:00
parent 653a18facc
commit 00223b3ba4
No known key found for this signature in database
GPG key ID: F5F0623FF5EBCB3D
3 changed files with 4 additions and 5 deletions

View file

@ -4,12 +4,10 @@ on: [push, pull_request]
jobs: jobs:
test: test:
# Older Ubuntu required for testing on Python 3.6 which is not available in runs-on: ubuntu-22.04
# later versions. Remove once support for 3.6 is dropped.
runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View file

@ -1,6 +1,7 @@
0.37.0: 0.37.0:
date: "TBA" date: "TBA"
changes: changes:
- "**BREAKING:** Require Python 3.7+"
- "Add `timeline --account` option to show the account timeline (thanks Dan Schwarz)" - "Add `timeline --account` option to show the account timeline (thanks Dan Schwarz)"
- "TUI: Add personal timeline (thanks Dan Schwarz)" - "TUI: Add personal timeline (thanks Dan Schwarz)"

View file

@ -32,7 +32,7 @@ setup(
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
], ],
packages=['toot', 'toot.tui', 'toot.utils'], packages=['toot', 'toot.tui', 'toot.utils'],
python_requires=">=3.6", python_requires=">=3.7",
install_requires=[ install_requires=[
"requests>=2.13,<3.0", "requests>=2.13,<3.0",
"beautifulsoup4>=4.5.0,<5.0", "beautifulsoup4>=4.5.0,<5.0",