Skip to content

Commit

Permalink
Merge pull request #66 from koenrh/koenrh/python3
Browse files Browse the repository at this point in the history
Remove support for Python 2
  • Loading branch information
koenrh authored Apr 26, 2020
2 parents f103fb8 + 7cb37ab commit 29647b3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [2.7, 3.5, 3.6, 3.7]
python-version: [3.5, 3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v1
Expand All @@ -21,15 +21,15 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
- name: Lint with flake8
run: |
pip install flake8
flake8 . --count --max-line-length=125 --statistics
python3 -m pip install flake8
python3 -m flake8 . --count --max-line-length=125 --statistics
- name: Test with pytest
run: |
pip install pytest
python -m pytest --verbose
python3 -m pip install pytest
python3 -m pytest --verbose
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Add `--since` option to delete tweets since a specific date [\#80](https://github.com/koenrh/delete-tweets/pull/80)
([@cyb3rsalih](https://github.com/cyb3rsalih))
- Remove support for Python 2.7 [\#66](https://github.com/koenrh/delete-tweets/pull/66)

## v1.0.6

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export TWITTER_ACCESS_TOKEN_SECRET="your_access_token_secret"

### Installation

Install the tool using `pip`.
Install the tool using [`pip`](https://pip.pypa.io/).

```bash
pip install delete-tweets
python3 -m pip install delete-tweets
```

### Usage
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2.7",
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: OS Independent",
],
python_requires='>=2.7',
python_requires='>=3',
)

0 comments on commit 29647b3

Please sign in to comment.