File tree Expand file tree Collapse file tree 13 files changed +17
-17
lines changed
Expand file tree Collapse file tree 13 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 11[bumpversion]
2- current_version = 2.6.0
2+ current_version = 2.6.3
33commit = True
44tag = False
55
6- [bumpversion:file:vonage/__init__.py]
6+ [bumpversion:file:src/ vonage/__init__.py]
77
88[bumpversion:file:setup.py]
99
Original file line number Diff line number Diff line change 1- # 2.6.0
1+ # 2.6.x
22
33- Dropped support for Python 3.6 and below
44- Now supporting currently supported stable versions of Python, i.e. Python 3.7-3.10
55- Internal refactoring and enhancements
66
7- # 2.5.x
7+ # 2.5.5
88
99- Support for Independent SMS, Voice and Verify APIs with tests as well as current client methods
1010- Getters/Setters to extract/rewrite custom attributes
Original file line number Diff line number Diff line change 1- .PHONY : clean test dist coverage install requirements release
1+ .PHONY : clean test build coverage install requirements release
22
33clean :
44 rm -rf dist build
@@ -10,11 +10,11 @@ coverage:
1010test :
1111 pytest -v
1212
13- dist :
14- python setup.py sdist --formats zip,gztar bdist_wheel
13+ build :
14+ python -m build
1515
1616release :
17- twine upload dist/*
17+ python -m twine upload dist/*
1818
1919install : requirements
2020
Original file line number Diff line number Diff line change 6666# built documents.
6767#
6868# The short X.Y version.
69- version = "2.6.0 "
69+ version = "2.6.3 "
7070# The full version, including alpha/beta/rc tags.
71- release = "2.6.0 "
71+ release = "2.6.3 "
7272
7373# The language for content autogenerated by Sphinx. Refer to documentation
7474# for a list of supported languages.
143143# The name for this set of Sphinx documents.
144144# "<project> v<release> documentation" by default.
145145#
146- # html_title = u'Vonage v2.6.0 '
146+ # html_title = u'Vonage v2.6.3 '
147147
148148# A shorter title for the navigation bar. Default is the same as html_title.
149149#
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ max-line-length=120
99[coverage:run]
1010# TODO: Change this to True:
1111branch =False
12- source = vonage
12+ source =src
1313
1414[coverage:paths]
1515source =
Original file line number Diff line number Diff line change 1111
1212setup (
1313 name = "vonage" ,
14- version = "2.6.0 " ,
14+ version = "2.6.3 " ,
1515 description = "Vonage Server SDK for Python" ,
1616 long_description = long_description ,
1717 long_description_content_type = "text/markdown" ,
1818 url = "https://github.com/Vonage/vonage-python-sdk" ,
1919 author = "Vonage" ,
20202121 license = "Apache" ,
22- packages = find_packages (where = "vonage " ),
23- package_dir = {"" : ". " },
22+ packages = find_packages (where = "src " ),
23+ package_dir = {"" : "src " },
2424 platforms = ["any" ],
2525 install_requires = [
2626 "requests>=2.4.2" ,
Original file line number Diff line number Diff line change 44from .sms import *
55from .verify import *
66
7- __version__ = "2.6.0 "
7+ __version__ = "2.6.3 "
File renamed without changes.
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ def __init__(
110110 if app_name and app_version :
111111 user_agent += f" { app_name } /{ app_version } "
112112
113- self .headers = {"User-Agent" : user_agent , "Content-Type " : "application/json" }
113+ self .headers = {"User-Agent" : user_agent , "Accept " : "application/json" }
114114
115115 self .auth_params = {}
116116
File renamed without changes.
You can’t perform that action at this time.
0 commit comments