Skip to content

Commit c215978

Browse files
authored
Merge pull request #221 from DevoInc/219-remove-urllib-from-dependencies
feat: Upgrade versions of cryptography, msgpack and pipdeptree, and r…
2 parents 79d6893 + fdb9afc commit c215978

File tree

9 files changed

+30
-22
lines changed

9 files changed

+30
-22
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ updates:
55
directory: "/"
66
target-branch: "master"
77
schedule:
8-
interval: "daily"
9-
time: "09:00"
10-
timezone: "Europe/Madrid"
8+
interval: "weekly"
119
assignees:
12-
- "JuanFranDevo"
10+
- "angel-devo"
11+
- "jgarciai"
1312
reviewers:
1413
- "angel-devo"
14+
- "jgarciai"
1515
labels:
16-
- "Dependabot"
16+
- "dependencies"
1717
# Set to 0 to avoid version updates (only security updates)
1818
open-pull-requests-limit: 5

.github/workflows/python-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
max-parallel: 1
2929
matrix:
30-
version: ["3.7", "3.8", "3.9"]
30+
version: ["3.8", "3.9"]
3131
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@v3

.github/workflows/snyk-checks.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,21 @@ on:
99
- synchronize
1010
workflow_dispatch:
1111
schedule:
12-
- cron: "0 9 * * *"
12+
- cron: "0 9 * * 1"
1313
jobs:
1414
dependencies:
1515
runs-on: ubuntu-latest
1616
if: ${{ github.actor != 'dependabot[bot]' }}
1717
steps:
1818
- uses: actions/checkout@master
1919
- name: Run Snyk to check for vulnerabilities
20-
uses: snyk/actions/python@master
20+
uses: snyk/actions/python-3.9@master
2121
continue-on-error: true # To make sure that SARIF upload gets called
2222
env:
2323
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2424
with:
25-
args: --sarif-file-output=snyk.sarif
25+
args: --sarif-file-output=snyk.sarif,--file=requirements.txt,--package-manager=pip
26+
command: test
2627
- name: Upload result to GitHub Code Scanning
2728
uses: github/codeql-action/upload-sarif@v2
2829
with:
@@ -33,7 +34,7 @@ jobs:
3334
steps:
3435
- uses: actions/checkout@master
3536
- name: Run Snyk for static code check
36-
uses: snyk/actions/python@master
37+
uses: snyk/actions/python-3.9@master
3738
continue-on-error: true # To make sure that SARIF upload gets called
3839
env:
3940
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [5.1.7] - 2023-10-25
8+
9+
### Changed
10+
11+
- `urllib3` dependency removed, `requests` already solves it.
12+
- `cryptography` depemdency upgraded from `cryptography~=41.0.3` to `cryptography~=41.0.5`
13+
- `msgpack~=1.0.4` testing dependency upgraded from `msgpack~=1.0.4` to `msgpack~=1.0.7`
14+
- `pipdeptree~=2.5.0` testing dependency upgraded from `pipdeptree~=2.5.0` to `pipdeptree~=2.13.0`
15+
- Removed support for Python 3.7.
16+
717
## [5.1.6] - 2023-10-05
818

919
### Changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ This is the SDK to access Devo directly from Python. It can be used to:
1414

1515
## Requirements
1616

17-
The Devo SDK for Python requires Python 3.7+
17+
The Devo SDK for Python requires Python 3.8+
1818

1919
## Compatibility
2020

21-
- Tested compatibility for python 3.7, 3.8 and 3.9
21+
- Tested compatibility for python 3.8 and 3.9
2222

2323
## Quick Start
2424

devo/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__description__ = "Devo Python Library."
22
__url__ = "http://www.devo.com"
3-
__version__ = "5.1.6"
3+
__version__ = "5.1.7"
44
__author__ = "Devo"
55
__author_email__ = "support@devo.com"
66
__license__ = "MIT"

requirements-test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
stopit==1.1.2
2-
msgpack~=1.0.4
2+
msgpack~=1.0.7
33
responses~=0.23.3
4-
pipdeptree~=2.5.0
4+
pipdeptree~=2.13.0

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ PyYAML==6.0.1
33
requests~=2.31
44
pem~=21.2.0
55
pyopenssl~=23.2
6-
urllib3~=2.0.6
76
pytz~=2023.3
87
certifi~=2023.7.22
9-
cryptography~=41.0.3
8+
cryptography~=41.0.5

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"Operating System :: OS Independent",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.8",
2322
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: Implementation :: CPython",
@@ -31,17 +30,16 @@
3130
"PyYAML==6.0.1",
3231
"pem~=21.2.0",
3332
"pyopenssl~=23.2",
34-
"urllib3~=2.0.6",
3533
"pytz~=2023.3",
3634
"certifi~=2023.7.22",
37-
"cryptography~=41.0.3",
35+
"cryptography~=41.0.5",
3836
]
3937
EXTRAS_REQUIRE = {
4038
"dev": [
4139
"stopit==1.1.2",
42-
"msgpack~=1.0.4",
40+
"msgpack~=1.0.7",
4341
"responses~=0.23.3",
44-
"pipdeptree~=2.5.0"
42+
"pipdeptree~=2.13.0"
4543
]
4644
}
4745
CLI = [

0 commit comments

Comments
 (0)