Skip to content

Commit

Permalink
Merge pull request #207 from maxkahan/2.x
Browse files Browse the repository at this point in the history
Bux fixes and release targets updated
  • Loading branch information
maxkahan committed Apr 19, 2022
2 parents 95bb146 + a352966 commit bd3eab6
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[bumpversion]
current_version = 2.6.0
current_version = 2.6.3
commit = True
tag = False

[bumpversion:file:vonage/__init__.py]
[bumpversion:file:src/vonage/__init__.py]

[bumpversion:file:setup.py]

Expand Down
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 2.6.0
# 2.6.x

- Dropped support for Python 3.6 and below
- Now supporting currently supported stable versions of Python, i.e. Python 3.7-3.10
- Internal refactoring and enhancements

# 2.5.x
# 2.5.5

- Support for Independent SMS, Voice and Verify APIs with tests as well as current client methods
- Getters/Setters to extract/rewrite custom attributes
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: clean test dist coverage install requirements release
.PHONY: clean test build coverage install requirements release

clean:
rm -rf dist build
Expand All @@ -10,11 +10,11 @@ coverage:
test:
pytest -v

dist:
python setup.py sdist --formats zip,gztar bdist_wheel
build:
python -m build

release:
twine upload dist/*
python -m twine upload dist/*

install: requirements

Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
# built documents.
#
# The short X.Y version.
version = "2.6.0"
version = "2.6.3"
# The full version, including alpha/beta/rc tags.
release = "2.6.0"
release = "2.6.3"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -143,7 +143,7 @@
# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
#
# html_title = u'Vonage v2.6.0'
# html_title = u'Vonage v2.6.3'

# A shorter title for the navigation bar. Default is the same as html_title.
#
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ max-line-length=120
[coverage:run]
# TODO: Change this to True:
branch=False
source= vonage
source=src

[coverage:paths]
source =
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@

setup(
name="vonage",
version="2.6.0",
version="2.6.3",
description="Vonage Server SDK for Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Vonage/vonage-python-sdk",
author="Vonage",
author_email="devrel@vonage.com",
license="Apache",
packages=find_packages(where="vonage"),
package_dir={"": "."},
packages=find_packages(where="src"),
package_dir={"": "src"},
platforms=["any"],
install_requires=[
"requests>=2.4.2",
Expand Down
2 changes: 1 addition & 1 deletion vonage/__init__.py → src/vonage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
from .sms import *
from .verify import *

__version__ = "2.6.0"
__version__ = "2.6.3"
File renamed without changes.
2 changes: 1 addition & 1 deletion vonage/client.py → src/vonage/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def __init__(
if app_name and app_version:
user_agent += f" {app_name}/{app_version}"

self.headers = {"User-Agent": user_agent, "Content-Type": "application/json"}
self.headers = {"User-Agent": user_agent, "Accept": "application/json"}

self.auth_params = {}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bd3eab6

Please sign in to comment.