Skip to content

Commit c83be40

Browse files
authored
Merge branch 'main' into 2.0.1-changelog
2 parents a25c060 + 8b460dd commit c83be40

File tree

6 files changed

+58
-16
lines changed

6 files changed

+58
-16
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
labels:
8+
- "dependencies"
9+
- "github_actions"
10+
- "Skip Changelog"
11+
ignore:
12+
# Ignore all patch releases as we can manually
13+
# upgrade if we run into a bug and need a fix.
14+
- dependency-name: "*"
15+
update-types: ["version-update:semver-patch"]

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest]
15-
python: [pypy3.7, 3.7, 3.9, "3.10", 3.11, 3.12-dev]
15+
python: ['pypy3.9', '3.8', '3.9', '3.10', '3.11', '3.12']
1616
toxenv: [py]
1717
include:
1818
# windows
1919
- os: windows-latest
20-
python: 3.7
20+
python: '3.12'
2121
toxenv: py
2222
# misc
2323
- os: ubuntu-latest
24-
python: 3.9
24+
python: '3.12'
2525
toxenv: docs
2626
- os: ubuntu-latest
27-
python: 3.9
27+
python: '3.12'
2828
toxenv: pre-commit
2929
runs-on: ${{ matrix.os }}
3030
steps:
31-
- uses: actions/checkout@v3
32-
- uses: actions/setup-python@v4
31+
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
32+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
3333
with:
3434
python-version: ${{ matrix.python }}
3535
- run: python -mpip install --upgrade setuptools pip tox virtualenv

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.4.0
3+
rev: v4.5.0
44
hooks:
55
- id: check-yaml
66
- id: debug-statements
77
- id: end-of-file-fixer
88
- id: trailing-whitespace
99
- repo: https://github.com/asottile/reorder-python-imports
10-
rev: v3.9.0
10+
rev: v3.12.0
1111
hooks:
1212
- id: reorder-python-imports
1313
args: [--application-directories, '.:src', --py37-plus]
1414
- repo: https://github.com/psf/black
15-
rev: 23.3.0
15+
rev: 23.12.1
1616
hooks:
1717
- id: black
1818
args: [--line-length=79]
1919
- repo: https://github.com/asottile/pyupgrade
20-
rev: v3.4.0
20+
rev: v3.15.0
2121
hooks:
2222
- id: pyupgrade
2323
args: [--py37-plus]
2424
- repo: https://github.com/pycqa/flake8
25-
rev: 6.0.0
25+
rev: 6.1.0
2626
hooks:
2727
- id: flake8
2828
exclude: ^(tests/|docs/|setup.py)
2929
additional_dependencies:
3030
- flake8-docstrings
3131
- flake8-import-order
3232
- repo: https://github.com/asottile/setup-cfg-fmt
33-
rev: v2.2.0
33+
rev: v2.5.0
3434
hooks:
3535
- id: setup-cfg-fmt
3636
args: [--include-version-classifiers]

.readthedocs.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Read the Docs configuration file for Sphinx projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version and other tools you might need
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.12"
12+
13+
# Build documentation in the "docs/" directory with Sphinx
14+
sphinx:
15+
configuration: docs/source/conf.py
16+
builder: "dirhtml"
17+
18+
# Optionally build your docs in additional formats such as PDF and ePub
19+
formats: []
20+
21+
# Optional but recommended, declare the Python requirements required
22+
# to build your documentation
23+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
24+
python:
25+
install:
26+
- path: .
27+
- requirements: docs/source/requirements.txt

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@
167167

168168

169169
# Configuration for intersphinx: refer to the Python standard library.
170-
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
170+
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ url = http://rfc3986.readthedocs.io
88
author = Ian Stapleton Cordasco
99
author_email = [email protected]
1010
license = Apache 2.0
11-
license_file = LICENSE
11+
license_files = LICENSE
1212
classifiers =
1313
Development Status :: 5 - Production/Stable
1414
Intended Audience :: Developers
@@ -17,18 +17,18 @@ classifiers =
1717
Programming Language :: Python
1818
Programming Language :: Python :: 3
1919
Programming Language :: Python :: 3 :: Only
20-
Programming Language :: Python :: 3.7
2120
Programming Language :: Python :: 3.8
2221
Programming Language :: Python :: 3.9
2322
Programming Language :: Python :: 3.10
2423
Programming Language :: Python :: 3.11
24+
Programming Language :: Python :: 3.12
2525
Programming Language :: Python :: Implementation :: CPython
2626
project_urls =
2727
Source = https://github.com/python-hyper/rfc3986
2828

2929
[options]
3030
packages = find:
31-
python_requires = >=3.7
31+
python_requires = >=3.8
3232
include_package_data = True
3333
package_dir = =src
3434

0 commit comments

Comments
 (0)