Skip to content

Commit

Permalink
fix: Update dependencies
Browse files Browse the repository at this point in the history
Fixes #39
Fixes #40
  • Loading branch information
jacobsvante committed Jun 2, 2022
1 parent b9982bf commit 1956b4d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.10
- uses: abatilo/actions-poetry@v2.1.2
with:
poetry-version: 1.1.6
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: ci

on:
push:
branches-ignore: []
tags-ignore: ['v*.*'] # Ignore version tags from triggering CI run
pull_request:

Expand All @@ -11,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.8, 3.7]
python-version: [3.10, 3.9, 3.8, 3.7]
extras: [all, soap_api, orjson, cli]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
Expand All @@ -28,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
python-version: [3.10]
extras: [all]
os: [ubuntu-latest]
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.10
- uses: abatilo/actions-poetry@v2.1.2
with:
poetry-version: 1.1.6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.10
- uses: abatilo/actions-poetry@v2.1.2
with:
poetry-version: 1.1.6
Expand Down
35 changes: 19 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "netsuite"
version = "0.8.0"
version = "0.9.0"
description = "Make async requests to NetSuite SuiteTalk SOAP/REST Web Services and Restlets"
authors = ["Jacob Magnusson <m@jacobian.se>"]
license = "MIT"
Expand All @@ -18,18 +18,19 @@ classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]

[tool.poetry.dependencies]
python = "^3.7"
authlib = "^0.15.3"
authlib = "~1"
# As per httpx recommendation we will lock to a fixed minor version until 1.0 is released
httpx = "~0.18"
pydantic = "^1.8"
orjson = {version = "^3", optional = true}
ipython = {version = "^7", optional = true}
zeep = {version = "^4.0.0", optional = true, extras = ["async"]}
oauthlib = "^3.1.0"
httpx = "~0.23"
pydantic = "~1"
orjson = {version = "~3", optional = true}
ipython = {version = "~8", optional = true, python = "^3.8"}
zeep = {version = "~4", optional = true, extras = ["async"]}
oauthlib = "~3"

[tool.poetry.extras]
soap_api = ["zeep"]
Expand All @@ -38,13 +39,15 @@ orjson = ["orjson"]
all = ["zeep", "ipython", "orjson"]

[tool.poetry.dev-dependencies]
black = "^21.11b0"
flake8 = "^3.9"
isort = "^5.8"
mkdocs-material = "^7"
mypy = "^0.812"
pytest = "^6"
pytest-cov = "^2.11"
black = "~22"
flake8 = "~4"
isort = "~5"
mkdocs-material = "~8"
mypy = "~0"
pytest = "~7"
pytest-cov = "~3"
types-setuptools = "^57.4.17"
types-requests = "^2.27.30"

[tool.poetry.scripts]
netsuite = 'netsuite.cli:main'
Expand All @@ -55,7 +58,7 @@ build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 88
target-version = ["py37", "py38"]
target-version = ["py37", "py38", "py39", "py310"]

[tool.isort]
profile = "black"
Expand Down

0 comments on commit 1956b4d

Please sign in to comment.