Skip to content

Commit

Permalink
Update dependencies (#148)
Browse files Browse the repository at this point in the history
* Update dependencies

* Run format

---------

Co-authored-by: Cian Butler <butlerx@notthe.cloud>
  • Loading branch information
cian-ev and butlerx committed Apr 4, 2024
1 parent d2addb8 commit 3a6d44e
Show file tree
Hide file tree
Showing 7 changed files with 178 additions and 299 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-chairs-knock.md
@@ -0,0 +1,5 @@
---
'evervault-python': minor
---

Remove support for 3.7
13 changes: 6 additions & 7 deletions .github/workflows/e2e.yml
@@ -1,18 +1,15 @@
name: Run Python SDK E2E Tests

on:
push:
branches:
- "**"
- "!master"

- '**'
- '!master'
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10.9, 3.11]

steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
Expand All @@ -32,5 +29,7 @@ jobs:
EV_APP_UUID: ${{ secrets.EV_APP_UUID_V4 }}
EV_API_KEY: ${{ secrets.EV_API_KEY_V4 }}
EV_FUNCTION_NAME: ${{ secrets.EV_FUNCTION_NAME_V4 }}
EV_INITIALIZATION_ERROR_FUNCTION_NAME: ${{ secrets.EV_INITIALIZATION_ERROR_FUNCTION_NAME }}
EV_SYNTHETIC_ENDPOINT_URL: ${{ secrets.EV_SYNTHETIC_ENDPOINT_URL }}
EV_INITIALIZATION_ERROR_FUNCTION_NAME:
${{ secrets.EV_INITIALIZATION_ERROR_FUNCTION_NAME }}
EV_SYNTHETIC_ENDPOINT_URL: ${{ secrets.EV_SYNTHETIC_ENDPOINT_URL }}

12 changes: 1 addition & 11 deletions .github/workflows/release.yml
@@ -1,44 +1,35 @@
name: Release

on:
push:
branches:
- "master"

- 'master'
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Get tags
run: git fetch --tags origin

- name: Setup Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Setup Poetry
uses: abatilo/actions-poetry@v2.1.2
with:
poetry-version: 1.4.2

- name: Install Dependencies
run: |
poetry install
npm install
- name: Run Lints
run: |
poetry run black -v --check .
poetry run flake8 -v --ignore=E501,W503,E722
- name: Run Tests
run: |
poetry run pytest -v
- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
Expand All @@ -48,7 +39,6 @@ jobs:
version: npm run version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create new release
if: steps.changesets.outputs.hasChangesets == 'false'
run: |
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
@@ -1,11 +1,9 @@
name: Test

on:
push:
branches:
- "**"
- "!master"

- '**'
- '!master'
jobs:
run-tests:
runs-on: ubuntu-latest
Expand All @@ -17,11 +15,9 @@ jobs:
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

python-version: ${{ matrix.python-version }}
- name: Check OpenSSL Version
run: openssl version

- name: Setup Poetry
uses: abatilo/actions-poetry@v2.1.2
with:
Expand Down
1 change: 1 addition & 0 deletions evervault/__init__.py
@@ -1,4 +1,5 @@
"""Package for the evervault SDK"""

from evervault.enclaves import EnclaveRequestsSession
from .client import Client
from .errors.evervault_errors import EvervaultError
Expand Down
432 changes: 160 additions & 272 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Expand Up @@ -9,7 +9,7 @@ homepage = "https://evervault.com"
repository = "https://github.com/evervault/evervault-python"

[tool.poetry.dependencies]
python = "^3.7.0"
python = "^3.8.0"
requests = "^2.24.0"
cryptography = "^42.0.0"
certifi = "*"
Expand All @@ -22,7 +22,7 @@ pytest = "^6.2.5"
pytest-socket = "^0.4.1"
requests-mock = "^1.9.3"
flake8 = "^5.0.4"
black = "^22.3.0"
black = "^24.3.0"
parameterized = "^0.9.0"

[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit 3a6d44e

Please sign in to comment.