Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from python-hyper/bug/81
Fix URI resolution with scheme-only URI
- Loading branch information
Showing
39 changed files
with
345 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: main | ||
|
||
on: | ||
push: | ||
branches: [master, main] | ||
tags: | ||
pull_request: | ||
|
||
jobs: | ||
main: | ||
strategy: | ||
matrix: | ||
include: | ||
# linux | ||
- os: ubuntu-latest | ||
python: pypy-3.7 | ||
toxenv: py | ||
- os: ubuntu-latest | ||
python: 3.7 | ||
toxenv: py | ||
- os: ubuntu-latest | ||
python: 3.8 | ||
toxenv: py | ||
- os: ubuntu-latest | ||
python: 3.9 | ||
toxenv: py | ||
- os: ubuntu-latest | ||
python: '3.10' | ||
toxenv: py | ||
# windows | ||
- os: windows-latest | ||
python: 3.7 | ||
toxenv: py | ||
# misc | ||
- os: ubuntu-latest | ||
python: 3.9 | ||
toxenv: docs | ||
- os: ubuntu-latest | ||
python: 3.9 | ||
toxenv: pre-commit | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- run: python -mpip install --upgrade setuptools pip tox virtualenv | ||
- run: tox -e ${{ matrix.toxenv }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
.coverage | ||
.tox | ||
*.egg-info | ||
.pytest_cache | ||
.cache/ | ||
build/ | ||
doc/_build/ | ||
dist/ | ||
t.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.1.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/asottile/reorder_python_imports | ||
rev: v2.6.0 | ||
hooks: | ||
- id: reorder-python-imports | ||
args: [--application-directories, '.:src', --py37-plus] | ||
- repo: https://github.com/psf/black | ||
rev: 21.12b0 | ||
hooks: | ||
- id: black | ||
args: [--line-length=79] | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.31.0 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py37-plus] | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 4.0.1 | ||
hooks: | ||
- id: flake8 | ||
exclude: ^(tests/|docs/|setup.py) | ||
additional_dependencies: | ||
- flake8-docstrings | ||
- flake8-import-order | ||
#- repo: https://github.com/pre-commit/mirrors-mypy | ||
# rev: v0.910-1 | ||
# hooks: | ||
# - id: mypy | ||
# exclude: ^(docs/|example-plugin/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
1.x.y - 202z-aa-bb | ||
2.0.0 - 202z-aa-bb | ||
------------------ | ||
|
||
- Drop support for Python 2.7, 3.3, 3.4, 3.5, 3.6 | ||
|
||
- Add support for Python 3.8, 3.9, 3.10 | ||
|
||
- Fix bug in resolving URIs that only contain schemes which are valid per the | ||
RFC - `bug 81`_ | ||
|
||
.. links below here | ||
.. _bug 81: | ||
https://github.com/python-hyper/rfc3986/issues/81 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,37 @@ | ||
[metadata] | ||
name = rfc3986 | ||
version = attr: rfc3986.__version__ | ||
description = Validating URI References per RFC 3986 | ||
long_description = file: README.rst | ||
author = Ian Stapleton Cordasco | ||
author_email = graffatcolmingov@gmail.com | ||
url = http://rfc3986.readthedocs.io | ||
license = Apache 2.0 | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Intended Audience :: Developers | ||
Natural Language :: English | ||
License :: OSI Approved :: Apache Software License | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
|
||
[options] | ||
packages = find: | ||
package_dir = =src | ||
include_package_data = True | ||
|
||
[options.packages.find] | ||
where = src | ||
|
||
[options.extras_require] | ||
idna2008 = idna | ||
|
||
[options.package_data] | ||
* = | ||
LICENSE | ||
|
||
[bdist_wheel] | ||
universal = 1 |
Oops, something went wrong.