Skip to content

Commit 37de5b7

Browse files
Merge branch 'main' into update_ecdsa_library
2 parents 6a02ab6 + 774663f commit 37de5b7

File tree

9 files changed

+60
-10
lines changed

9 files changed

+60
-10
lines changed

.github/workflows/lint-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515
- run: pip install --user ruff
16-
- run: ruff --ignore="E722,F40,F841" --line-length=320 --target-version=py37 .
16+
- run: ruff check --ignore="E722,F40,F841" --line-length=320 --target-version=py37 .

.github/workflows/test-and-deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
timeout-minutes: 20
1818
strategy:
1919
matrix:
20-
python-version: [ '2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11' ]
20+
python-version: [ '3.9', '3.10', '3.11', '3.12' , '3.13']
2121
env:
2222
DOCKER_LOGIN: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_AUTH_TOKEN }}
2323
steps:
@@ -31,6 +31,11 @@ jobs:
3131
username: ${{ secrets.DOCKER_USERNAME }}
3232
password: ${{ secrets.DOCKER_AUTH_TOKEN }}
3333

34+
- name: Install Docker Compose
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install -y docker-compose
38+
3439
- name: Build & Test
3540
run: make test-docker version=${{ matrix.python-version }}
3641

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
[2025-05-05] Version 6.12.0
5+
---------------------------
6+
**Library - Chore**
7+
- [PR #1098](https://github.com/sendgrid/sendgrid-python/pull/1098): Add werkzeug package to setup file. Thanks to [@gopidesupavan](https://github.com/gopidesupavan)!
8+
- [PR #1099](https://github.com/sendgrid/sendgrid-python/pull/1099): install docker-compose. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
9+
10+
**Library - Feature**
11+
- [PR #1087](https://github.com/sendgrid/sendgrid-python/pull/1087): add support for python3.12 and 3.13. Thanks to [@meysam81](https://github.com/meysam81)!
12+
13+
414
[2023-12-01] Version 6.11.0
515
---------------------------
616
**Library - Feature**

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (C) 2023, Twilio SendGrid, Inc. <help@twilio.com>
3+
Copyright (C) 2025, Twilio SendGrid, Inc. <help@twilio.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ venv: clean
66
virtualenv --python=python venv
77

88
install: venv
9+
. venv/bin/activate; pip install -r test/requirements.txt
910
. venv/bin/activate; python setup.py install
1011
. venv/bin/activate; pip install -r requirements.txt
1112

12-
test-install: install
13-
. venv/bin/activate; pip install -r test/requirements.txt
14-
15-
test: test-install
13+
test: install
1614
. venv/bin/activate; coverage run -m unittest discover -s test/unit
1715

1816
test-integ: test

sendgrid/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '6.11.0'
1+
__version__ = '6.12.0'

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
def getRequires():
1111
deps = [
1212
'python_http_client>=3.2.1',
13-
'starkbank-ecdsa>=2.0.1'
13+
'starkbank-ecdsa>=2.0.1',
14+
"werkzeug>=0.11.15,<1.0.0 ; python_version < '3.0'",
15+
"werkzeug>=0.15.0,<2.0.0 ; python_version >= '3.0' and python_version < '3.6'",
16+
"werkzeug>=2.0.0,<3.0.0 ; python_version >= '3.6' and python_version < '3.11'",
17+
"werkzeug>=3.0.0 ; python_version >= '3.11'"
1418
]
1519
return deps
1620

@@ -41,5 +45,7 @@ def getRequires():
4145
'Programming Language :: Python :: 3.9',
4246
'Programming Language :: Python :: 3.10',
4347
'Programming Language :: Python :: 3.11',
48+
'Programming Language :: Python :: 3.12',
49+
'Programming Language :: Python :: 3.13',
4450
]
4551
)

test/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ coverage
55
mock
66
itsdangerous==1.1.0
77
markupsafe==1.1.1
8+
setuptools

tox.ini

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, py34, py35, py36, py37
7+
envlist = py27, py34, py35, py36, py37, py38, py39, py310, py311, py312, py313
88

99
[testenv]
1010
commands = coverage erase
@@ -39,3 +39,33 @@ basepython = python3.6
3939
commands = {[testenv]commands}
4040
deps = {[testenv]deps}
4141
basepython = python3.7
42+
43+
[testenv:py38]
44+
commands = {[testenv]commands}
45+
deps = {[testenv]deps}
46+
basepython = python3.8
47+
48+
[testenv:py39]
49+
commands = {[testenv]commands}
50+
deps = {[testenv]deps}
51+
basepython = python3.9
52+
53+
[testenv:py310]
54+
commands = {[testenv]commands}
55+
deps = {[testenv]deps}
56+
basepython = python3.10
57+
58+
[testenv:py311]
59+
commands = {[testenv]commands}
60+
deps = {[testenv]deps}
61+
basepython = python3.11
62+
63+
[testenv:py312]
64+
commands = {[testenv]commands}
65+
deps = {[testenv]deps}
66+
basepython = python3.12
67+
68+
[testenv:py313]
69+
commands = {[testenv]commands}
70+
deps = {[testenv]deps}
71+
basepython = python3.13

0 commit comments

Comments
 (0)