Skip to content

Python 3 support, packaging, docs tweaks, code fixes, CI #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
09642fa
gitignore: .vim/
tony Jul 10, 2020
a4140e6
gitignore: Add Python's default gitignore
tony Jul 11, 2020
2dcc925
gitignore: Ignore pip-wheel-metadata/
tony Jul 11, 2020
0758f28
Add pyproject.toml for Poetry
tony Jul 10, 2020
1b13a02
pyproject.toml: Add test and doc dependencies for Python 2 and 3
tony Jul 10, 2020
cbf8761
Add poetry lockfile
tony Jul 10, 2020
2057f0d
Add Makefile for tests, flake8 linting, formatting
tony Jul 10, 2020
927560f
Add dependabot workflow
tony Jul 10, 2020
f814995
Add github workflow
tony Jul 10, 2020
4e5c76b
Add flake8 and isort config
tony Jul 10, 2020
cac4e2c
black: skip string normalization
tony Jul 10, 2020
4a136ed
Run: make black isort
tony Jul 10, 2020
adf1d24
Add _compat module for 2.x / 3.x compatibility
tony Jul 10, 2020
976b754
poetry.toml: Add .venv
tony Jul 10, 2020
0ce1ac3
flake8 linting fixes
tony Jul 10, 2020
8d906a1
isort: Keep <5
tony Jul 10, 2020
7e91280
Tweaks for setup.py, linting
tony Jul 10, 2020
7bf6475
flake8: sample-code
tony Jul 10, 2020
684d185
docs: Format with prettier
tony Jul 11, 2020
b9ab3ab
docs: Don't use sudo for pip command
tony Jul 11, 2020
717f287
Docs: Fix examples, indentation, formatting, development instructions
tony Jul 11, 2020
081aa35
setup.py: Fix LONG_DESCRIPTION
tony Jul 11, 2020
e9a142b
poetry: Use package name "qencode"
tony Jul 11, 2020
b6b259c
Filename typo
tony Jul 11, 2020
3752b82
Grab package fix relative import (python 2/3 compatibility)
tony Jul 11, 2020
12235f2
Test: use pytest style, import qencode
tony Jul 11, 2020
2b329c8
Import fixes, cleanup
tony Jul 11, 2020
23a6a24
Reorganize __init__ package to fix shadowing issues, make API consistent
tony Jul 11, 2020
27565df
Rename QencodeApiClient to Client. Make available via qencode.Client
tony Jul 11, 2020
7aa0c3f
Fix httptools (relative import, its not the pypi package of the same
tony Jul 11, 2020
c933b69
Fix task, which is relative import
tony Jul 11, 2020
d77a4f2
httptools: Remove need for urllib2, make python 2/3 compatible
tony Jul 11, 2020
09b9a4c
flake8: Ignore build/ directory
tony Jul 11, 2020
636aa2f
Allow action to continue even if codecov fails
tony Jul 11, 2020
0cd21e1
httptools: Fix encoding issue with request post data (2/3 compat)
tony Jul 11, 2020
ddcd1f9
Fix python 3 mutation issue
tony Jul 11, 2020
3789030
metadata: import time
tony Jul 13, 2020
02f743f
metadata: Remove need for urllib2, add 2/3 compatibility
tony Jul 13, 2020
d892a4d
Query: Python 2+3 compatibility
tony Jul 14, 2020
0e5db8e
setup.py: Add Python 3.6-3.8 to trove classifiers
tony Jul 28, 2020
1107cb1
Add setuptools as build dependency
tony Oct 1, 2020
531d4e5
Pin poetry < 1.1 until 1.1 stabilizes
tony Oct 1, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
pyproject.toml: Add test and doc dependencies for Python 2 and 3
  • Loading branch information
tony committed Jul 28, 2020
commit 1b13a021368a781ac1898b91f669fce3f53569cb
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,30 @@ license = "MIT"
python = "~2.7 || ^3.5"

[tool.poetry.dev-dependencies]
black = {version="==19.10b0", python="^3.6"}
docutils = "*"
flake8 = "*"
isort = "*"
pytest = [
{version="<4.7.0", python="<3"},
{version="*", python=">=3"}
]
pathlib2 = {version="<2.3.5", python="<3"} # Untangle pytest peer-dependency
sphinx = [
{version="<2", python="<3"},
{version="*", python=">=3"}
]
twine = "*"
codecov = "*"
coverage = "*"
pytest-cov = [
{version="<2.10.0", python="<3"},
{version="*", python=">=3"}
]
pytest-mock = [
{version="<3.0.0", python="<3"},
{version="*", python=">=3"}
]

[build-system]
requires = ["poetry>=0.12"]
Expand Down