Skip to content

Commit 836b611

Browse files
authored
Version 0.7.0 (#46)
- Resolves dependabot security issues + upgrade dependencies. - Drops support for Python 3.7 - Add support for Python 3.12 - Bump version to 0.7.0
1 parent 329f1cd commit 836b611

File tree

6 files changed

+458
-63
lines changed

6 files changed

+458
-63
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
on:
33
push:
44
tags:
5-
- 'v*'
5+
- 'v*.*.*'
66
jobs:
77
deploy:
88

@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v2
1515
with:
16-
python-version: '3.x'
16+
python-version: '3.12'
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip

.github/workflows/run_tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
name: Run Tests
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
workflow_dispatch:
49

510
jobs:
611
testing:
712
runs-on: ubuntu-latest
813
strategy:
914
matrix:
10-
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']
15+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
1116

1217
steps:
1318
- uses: actions/checkout@v2
@@ -19,7 +24,7 @@ jobs:
1924
- name: Install dependencies
2025
run: |
2126
python -m pip install --upgrade pip
22-
pip install -r requirements.txt
27+
pip install -r requirements.txt --no-deps
2328
2429
- name: Run pytest
2530
run: pytest --cov

pyanchor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Check you site for broken links!"""
22

3-
__version__ = "0.6.2"
3+
__version__ = "0.7.0"

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ author-email = "[email protected]"
99
home-page = "https://github.com/EndlessTrax/pyanchor/"
1010
classifiers = [
1111
"License :: OSI Approved :: MIT License",
12-
"Programming Language :: Python :: 3.7",
1312
"Programming Language :: Python :: 3.8",
1413
"Programming Language :: Python :: 3.9",
1514
"Programming Language :: Python :: 3.10",
16-
"Programming Language :: Python :: 3.11"
15+
"Programming Language :: Python :: 3.11",
16+
"Programming Language :: Python :: 3.12"
1717
]
1818
description-file="README.md"
1919
requires = [
20-
"beautifulsoup4",
21-
"requests",
22-
"typer",
23-
"lxml",
24-
"colorama"
20+
"beautifulsoup4==4.11.1",
21+
"requests==2.31.0",
22+
"typer==0.5.0",
23+
"lxml==4.9.2",
24+
"colorama==0.4.5"
2525
]
26-
requires-python=">=3.7"
26+
requires-python=">=3.8"
2727

2828
[tool.flit.metadata.urls]
2929
Documentation = "https://github.com/EndlessTrax/pyanchor/blob/master/README.md"

requirements.in

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
beautifulsoup4==4.11.1
22
requests==2.31.0
33
typer==0.5.0
4-
lxml==4.9.2
4+
lxml==4.9.3
55
colorama==0.4.5
66
black==22.6.0
77
pytest==7.2
88
pytest-cov==3.0.0
99
python-dotenv==0.20.0
1010
flask==2.2.5
11-
flit==3.7.1
11+
flit==3.7.1
12+
13+
exceptiongroup # Required for pytest to run on Python < 3.10
14+
typing_extensions==3.10.0.0 # Required for Black to run on Python < 3.10

0 commit comments

Comments
 (0)