Skip to content

Commit

Permalink
V22.1.1 (#1514)
Browse files Browse the repository at this point in the history
* update changelog

* bump version

* add python 3.10
  • Loading branch information
oberstet authored Jan 28, 2022
1 parent fa9f2da commit dc62694
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
env:
CB_FULLTESTS: 1

# Test on Ubuntu, MacOS, Windows using CPython 3.6-3.9, PyPy 3.6-3.7
# Test on Ubuntu, MacOS, Windows using CPython and PyPy
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
# os: [ubuntu-20.04, macos-latest, windows-latest]

# https://github.com/actions/setup-python#specifying-a-pypy-version
python-version: ['3.7', '3.9', 'pypy-3.7']
python-version: ['3.7', '3.10', 'pypy-3.8']
framework: ['asyncio', 'tw203', 'twtrunk']

# https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/
Expand Down
2 changes: 1 addition & 1 deletion autobahn/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
#
###############################################################################

__version__ = '21.11.1'
__version__ = '22.1.1'

__build__ = u'00000000-0000000'
5 changes: 5 additions & 0 deletions autobahn/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ def utcstr(ts=None):
Note: to parse an ISO 8601 formatted string, use the **iso8601**
module instead (e.g. ``iso8601.parse_date("2014-05-23T13:03:44.123Z")``).
>>> txaio.time_ns()
1641121311914026419
>>> int(iso8601.parse_date(utcnow()).timestamp() * 1000000000.)
1641121313209000192
:param ts: The timestamp to format.
:type ts: instance of :py:class:`datetime.datetime` or ``None``
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.cpy-slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ARG AUTOBAHN_ARCH

# Use the latest CPython
FROM ${AUTOBAHN_ARCH}/python:3.9-slim
FROM ${AUTOBAHN_ARCH}/python:3.10-slim

MAINTAINER The Crossbar.io Project and Contributors <[email protected]>

Expand Down
8 changes: 8 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
Changelog
=========

22.1.1
------

* new: support Python 3.10
* new: allow optional keys in endpoint config validation
* fix: reset transport retry status when connection succeeds
* fix: update Docker/PyPy to pypy:3.8-slim

21.11.1
-------

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ def run_tests(self):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet",
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ envlist =
py37-{tw189,tw1910,tw203,tw212,twtrunk,asyncio}
py38-{tw189,tw1910,tw203,tw212,twtrunk,asyncio}
py39-{tw189,tw1910,tw203,tw212,twtrunk,asyncio}
py310-{tw189,tw1910,tw203,tw212,twtrunk,asyncio}

# PyPy
pypy37-{tw189,tw1910,tw203,tw212,twtrunk,asyncio}
pypy38-{tw189,tw1910,tw203,tw212,twtrunk,asyncio}


# MAP: GitHub Actions Python Name => Tox Env Name (for Python)
Expand All @@ -26,7 +28,9 @@ python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
pypy-3.7: pypy37
pypy-3.8: pypy38


[testenv]
Expand Down

0 comments on commit dc62694

Please sign in to comment.