-
Notifications
You must be signed in to change notification settings - Fork 4
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 #19 from PH-KDX/3.11-support
v0.7.1
- Loading branch information
Showing
16 changed files
with
155 additions
and
108 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
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 |
---|---|---|
|
@@ -18,6 +18,8 @@ dist | |
|
||
docs/build | ||
|
||
build/ | ||
|
||
ignore/ | ||
|
||
venv | ||
|
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,30 @@ | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the version of Python | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
|
||
# Declare the Python requirements required to build docs | ||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
builder: html | ||
configuration: docs/source/conf.py | ||
|
||
# Build PDF & ePub | ||
formats: | ||
- epub | ||
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,23 @@ | ||
Changelog | ||
-------------------- | ||
|
||
0.7.1 | ||
^^^^^^^^^^^^^^^^^^^^ | ||
This is a minor update, which adds support for Python 3.11 and moves the package configuration | ||
from setup.py to pyproject.toml. No breaking changes have been introduced. A bug has been fixed | ||
which was causing aiohttp to crash on null parameters, and a bug in the quickstart example has | ||
been fixed. | ||
|
||
0.7.0 | ||
^^^^^^^^^^^^^^^^^^^^ | ||
This is another complete rewrite of the library, in which it is entirely converted to async. | ||
This should mean faster execution of parallel requests, and no blocking when called from | ||
another async library. Support for Python 3.7 has been dropped in this release. Python 3.11 | ||
is not yet supported as aiohttp does not yet support Python 3.11 at the time of release. | ||
|
||
0.6.0 | ||
^^^^^^^^^^^^^^^^^^^^ | ||
This is a complete rewrite of the library, which moves functions out of classes. | ||
This does have the side effect of requiring a key to be passed into every authenticated request, | ||
instead of being passed into a class once on initialisation. The rewrite also incorporates | ||
several small bugfixes, and changes the test environment from unittest to pytest. |
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,16 +1,3 @@ | ||
Changelog | ||
-------------------- | ||
|
||
0.7.0 | ||
^^^^^^^^^^^^^^^^^^^^ | ||
This is another complete rewrite of the library, in which it is entirely converted to async. | ||
This should mean faster execution of parallel requests, and no blocking when called from | ||
another async library. Support for Python 3.7 has been dropped in this release. Python 3.11 | ||
is not yet supported as aiohttp does not yet support Python 3.11 at the time of release. | ||
|
||
0.6.0 | ||
^^^^^^^^^^^^^^^^^^^^ | ||
This is a complete rewrite of the library, which moves functions out of classes. | ||
This does have the side effect of requiring a key to be passed into every authenticated request, | ||
instead of being passed into a class once on initialisation. The rewrite also incorporates | ||
several small bugfixes, and changes the test environment from unittest to pytest. | ||
.. include:: ../../../CHANGELOG.rst | ||
.. | ||
reference to changelog outside of docs directory, with thanks to https://stackoverflow.com/a/17217041 |
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "flightplandb" | ||
authors = [ | ||
{name = "PH-KDX", email = "smtp.python.email.sender@gmail.com"}, | ||
] | ||
description = "Python wrapper for the Flight Plan Database API" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = {text = "GPL v3"} | ||
|
||
classifiers = [ | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Intended Audience :: Developers", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Operating System :: OS Independent", | ||
"Topic :: Internet", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Utilities", | ||
"Topic :: Games/Entertainment :: Simulation", | ||
] | ||
dependencies = [ | ||
"aiohttp >= 3.8.4; python_version >= '3.11'", | ||
"aiohttp >= 3.5.2; python_version < '3.11'", | ||
"python-dateutil~=2.8.2", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
docs = ["Sphinx==6.1.3", "sphinx-rtd-theme==1.2.0"] | ||
test = ["pytest~=7.2.1", "pytest-socket~=0.6.0", "pytest-asyncio~=0.20.3"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/PH-KDX/flightplandb-py/" | ||
"Documentation" = "https://flightplandb-py.readthedocs.io/" | ||
"Issue tracker" = "https://github.com/PH-KDX/flightplandb-py/issues" | ||
"Changelog" = "https://github.com/PH-KDX/flightplandb-py/blob/main/CHANGELOG.rst" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "flightplandb.__version__"} | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "-vv --disable-socket" | ||
asyncio_mode = "auto" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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