Skip to content

Commit

Permalink
fixup! Support GATEWAY_API_URL env var
Browse files Browse the repository at this point in the history
  • Loading branch information
threema-eduard committed Jul 30, 2024
1 parent 7be51db commit f15c913
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8", "3.7"]
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8"]
event-loop: [asyncio, uvloop]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8", "3.7"]
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8"]
event-loop: [asyncio, uvloop]

steps:
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Changelog
*********

`7.1.0`_ (2024-07-31)
`7.1.0`_ (2022-06-13)
---------------------

- Add `GATEWAY_API_URL` environment variable to support custom Message API endpoints
- Add support for Python 3.12
- Drop support for Python versions below 3.8
- Major dependencies bump to increase compatibility with other packages

`7.0.1`_ (2023-02-21)
Expand Down Expand Up @@ -92,6 +93,7 @@ Server:

- Initial publication on PyPI

.. _7.1.0: https://github.com/threema-ch/threema-msgapi-sdk-python/compare/v7.0.1...v7.1.0
.. _7.0.1: https://github.com/threema-ch/threema-msgapi-sdk-python/compare/v6.0.0...v7.0.1
.. _6.0.0: https://github.com/threema-ch/threema-msgapi-sdk-python/compare/v5.0.0...v6.0.0
.. _5.0.0: https://github.com/threema-ch/threema-msgapi-sdk-python/compare/v4.0.0...v5.0.0
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ the Threema gateway. Run the following command to see usage information:
Setting a different API url
---------------------------

The default MsgApi URL points to https://msgapi.threema.ch/.
The default MsgApi URL points to ``https://msgapi.threema.ch/``.

If you are a Threema OnPrem customer or have another reason
to use a different MsgApi endpoint, you may set an environment variable as follows:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bdist_wheel]
python-tag = py37.py38.py39.py310.py311.py312
python_tag = py38.py39.py310.py311.py312

[flake8]
max-line-length = 90
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def read(file):
# Check python version
py_version = sys.version_info[:3]
if py_version < (3, 7, 0):
raise Exception("threema.gateway requires Python >= 3.7")
raise Exception("threema.gateway requires Python >= 3.8")

# Test requirements
# Note: These are just tools that aren't required, so a version range
Expand All @@ -59,7 +59,6 @@ def read(file):
'aiohttp>=3.7.3,<4',
'wrapt>=1.10.10,<2',
],
tests_require=tests_require,
extras_require={
'dev': tests_require,
'uvloop': ['uvloop>=0.8.0,<2'],
Expand Down

0 comments on commit f15c913

Please sign in to comment.