Skip to content

Commit 7cb0e4a

Browse files
committed
Update poetry and fix pyproject.toml
1 parent 78ea083 commit 7cb0e4a

File tree

3 files changed

+72
-15
lines changed

3 files changed

+72
-15
lines changed

.travis.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,38 @@
11
language: python
22
matrix:
33
include:
4-
- env: TOXENV=flake8,mypy
4+
- name: Code quality tests
5+
env: TOXENV=flake8,mypy
56
python: 3.7
67
dist: xenial
78
sudo: true
8-
- env: TOXENV=py37
9+
- name: Unit tests with Python 3.7
10+
env: TOXENV=py37
911
python: 3.7
1012
dist: xenial
1113
sudo: true
12-
- env: TOXENV=py36
14+
- name: Unit tests with Python 3.6
15+
env: TOXENV=py36
1316
python: 3.6
1417
cache:
1518
directories:
1619
- "$HOME/.cache/pip"
1720
- "$TRAVIS_BUILD_DIR/.tox"
1821
install:
19-
- pip install "poetry>=0.12.16"
22+
- pip install "poetry>=1.0.0a5"
2023
- poetry install
2124
script:
2225
- tox -e $TOXENV -- --cov-report term-missing --cov=src
2326
after_success:
2427
- codecov
2528
deploy:
2629
provider: pypi
27-
username: "mvanlonden"
28-
skip_existing: true
30+
distributions: sdist bdist_wheel
2931
on:
30-
tags: true
3132
branch: next
33+
tags: true
34+
python: 3.7
35+
skip_existing: true
36+
username: mvanlonden
3237
password:
33-
secure: "gu79sV5e3wkUI8eH20TbBRctOOGkuWe6EQUjJP17q1Jm15/sJsehOaaLPiG0psxtqBGABp+z+xXkjhRfNMowY2xJPLjGmpF23pOIWGjBWKLKXzJStegKM6kwJYyHzcykIhBEb74047FhqhcwOgZcsp6sZpfzuby+onevLzPDI0C4jTARw7WAqMln9JIBZJyoQKp9fpr8AoXL2JtHr6sjkeJ94lz1XViL9rtTo7qFYfqYS3XdKO0wJhLfMUXSihIzSWQykBVv+75tMKQr0CtGALXcJSRGT6Sb31GiFyG93rtcOcBvbjFt1MK8aNKyIMhwgSqjcgKvxWAvXn4MsCaabHPVEv0YuT9t9cQzaAvi81LqHkpALgpDfXFfsMzHG18/8ME9TpM8u52r/ST5lhukglfnxWVy4hg8VLZ0iiTtpS3hx1Ba4Uecr++6fI5X+KL3EPabApQM+t4rcC0h4mEbjq3IkZ/ANAIJ2UjKTMcUkbQbKqJ1MY4xQyw+vVugffBmhEWSb4GnQPEadMGD6qfUI+t7epDP0ipp67rOiUooFYGabQp40pf7MxFPG23fvJ3JWbo3fzcIRmQiSalrIL1gFXH2DQnv4xhZvwnci+dIK29mamH0CfmjAJ8BdfzRsjV156BZbfkzXRfWDMes9G2E8S27xJJ2N4ySNIMkaXsu1u4="
38+
secure: gu79sV5e3wkUI8eH20TbBRctOOGkuWe6EQUjJP17q1Jm15/sJsehOaaLPiG0psxtqBGABp+z+xXkjhRfNMowY2xJPLjGmpF23pOIWGjBWKLKXzJStegKM6kwJYyHzcykIhBEb74047FhqhcwOgZcsp6sZpfzuby+onevLzPDI0C4jTARw7WAqMln9JIBZJyoQKp9fpr8AoXL2JtHr6sjkeJ94lz1XViL9rtTo7qFYfqYS3XdKO0wJhLfMUXSihIzSWQykBVv+75tMKQr0CtGALXcJSRGT6Sb31GiFyG93rtcOcBvbjFt1MK8aNKyIMhwgSqjcgKvxWAvXn4MsCaabHPVEv0YuT9t9cQzaAvi81LqHkpALgpDfXFfsMzHG18/8ME9TpM8u52r/ST5lhukglfnxWVy4hg8VLZ0iiTtpS3hx1Ba4Uecr++6fI5X+KL3EPabApQM+t4rcC0h4mEbjq3IkZ/ANAIJ2UjKTMcUkbQbKqJ1MY4xQyw+vVugffBmhEWSb4GnQPEadMGD6qfUI+t7epDP0ipp67rOiUooFYGabQp40pf7MxFPG23fvJ3JWbo3fzcIRmQiSalrIL1gFXH2DQnv4xhZvwnci+dIK29mamH0CfmjAJ8BdfzRsjV156BZbfkzXRfWDMes9G2E8S27xJJ2N4ySNIMkaXsu1u4=

poetry.lock

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ name = "graphql-relay"
33
version = "3.0.0a1"
44
description = """
55
Relay library for graphql-core-next"""
6-
licese="MIT"
6+
license="MIT"
77
authors = [
88
"Syrus Akbary <[email protected]>",
99
"Christoph Zwerschke <[email protected]>"
1010
]
11-
readme="README.md"
12-
homepage="https://github.com/graphql-python/graphql-relay-py"
13-
repository="https://github.com/graphql-python/graphql-relay-py"
14-
documentation="https://github.com/graphql-python/graphql-relay-py"
15-
keywords="graphql relay api"
11+
readme = "README.md"
12+
homepage = "https://github.com/graphql-python/graphql-relay-py"
13+
repository = "https://github.com/graphql-python/graphql-relay-py"
14+
documentation = "https://github.com/graphql-python/graphql-relay-py"
15+
keywords = ["graphql", "relay", "api"]
1616
classifiers = [
1717
"Development Status :: 5 - Production/Stable",
1818
"Intended Audience :: Developers",
@@ -24,6 +24,7 @@ classifiers = [
2424
]
2525
packages = [
2626
{ include = "graphql_relay", from = "src" },
27+
{ include = "docs", format = "sdist" },
2728
]
2829

2930
[tool.poetry.dependencies]
@@ -47,5 +48,5 @@ tox = "^3.13"
4748
[tool.black]
4849
target-version = ['py36', 'py37', 'py38']
4950
[build-system]
50-
requires = ["poetry>=0.12.16"]
51+
requires = ["poetry>=1.0.0a5"]
5152
build-backend = "poetry.masonry.api"

0 commit comments

Comments
 (0)