Skip to content

Commit 88f1230

Browse files
authored
Merge pull request #83 from python-hyper/release/2.0.0
Prepare to release 2.0.0
2 parents 2d0317b + 3748200 commit 88f1230

File tree

6 files changed

+39
-15
lines changed

6 files changed

+39
-15
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ repos:
2929
additional_dependencies:
3030
- flake8-docstrings
3131
- flake8-import-order
32+
- repo: https://github.com/asottile/setup-cfg-fmt
33+
rev: v1.19.0
34+
hooks:
35+
- id: setup-cfg-fmt
3236
#- repo: https://github.com/pre-commit/mirrors-mypy
3337
# rev: v0.910-1
3438
# hooks:

docs/source/release-notes/2.0.0.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2.0.0 - 2022-01-10
2+
------------------
3+
4+
- Drop support for Python 2.7, 3.3, 3.4, 3.5, 3.6
5+
6+
- Add support for Python 3.8, 3.9, 3.10
7+
8+
- Fix bug in resolving URIs that only contain schemes which are valid per the
9+
RFC - `bug 81`_
10+
11+
.. links below here
12+
.. _bug 81:
13+
https://github.com/python-hyper/rfc3986/issues/81

docs/source/release-notes/index.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,19 @@
55
All of the release notes that have been recorded for |rfc3986| are organized
66
here with the newest releases first.
77

8-
1.x Release Series
8+
2.x Release Series
99
==================
1010

1111
.. toctree::
1212

1313
unreleased
14+
2.0.0
15+
16+
1.x Release Series
17+
==================
18+
19+
.. toctree::
20+
1421
1.5.0
1522
1.4.0
1623
1.3.2
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
2.0.0 - 202z-aa-bb
1+
2.x.y - 202z-aa-bb
22
------------------
33

4-
- Drop support for Python 2.7, 3.3, 3.4, 3.5, 3.6
5-
6-
- Add support for Python 3.8, 3.9, 3.10
7-
8-
- Fix bug in resolving URIs that only contain schemes which are valid per the
9-
RFC - `bug 81`_
4+
- *Add Items here*
105

116
.. links below here
12-
.. _bug 81:
13-
https://github.com/python-hyper/rfc3986/issues/81

setup.cfg

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,38 @@ name = rfc3986
33
version = attr: rfc3986.__version__
44
description = Validating URI References per RFC 3986
55
long_description = file: README.rst
6+
long_description_content_type = text/x-rst
7+
url = http://rfc3986.readthedocs.io
68
author = Ian Stapleton Cordasco
79
author_email = [email protected]
8-
url = http://rfc3986.readthedocs.io
910
license = Apache 2.0
11+
license_file = LICENSE
1012
classifiers =
1113
Development Status :: 5 - Production/Stable
1214
Intended Audience :: Developers
13-
Natural Language :: English
1415
License :: OSI Approved :: Apache Software License
16+
Natural Language :: English
1517
Programming Language :: Python
18+
Programming Language :: Python :: 3
19+
Programming Language :: Python :: 3 :: Only
1620
Programming Language :: Python :: 3.7
1721
Programming Language :: Python :: 3.8
1822
Programming Language :: Python :: 3.9
1923
Programming Language :: Python :: 3.10
24+
Programming Language :: Python :: Implementation :: CPython
2025

2126
[options]
2227
packages = find:
23-
package_dir = =src
28+
python_requires = >=3.7
2429
include_package_data = True
30+
package_dir = =src
2531

2632
[options.packages.find]
2733
where = src
2834

2935
[options.extras_require]
30-
idna2008 = idna
36+
idna2008 =
37+
idna
3138

3239
[options.package_data]
3340
* =

src/rfc3986/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
__author_email__ = "[email protected]"
3434
__license__ = "Apache v2.0"
3535
__copyright__ = "Copyright 2014 Rackspace; 2016 Ian Stapleton Cordasco"
36-
__version__ = "1.5.0"
36+
__version__ = "2.0.0"
3737

3838
__all__ = (
3939
"ParseResult",

0 commit comments

Comments
 (0)