Skip to content

Commit

Permalink
Merge pull request #48 from hugovk/master
Browse files Browse the repository at this point in the history
Add support for Python 3.11
  • Loading branch information
Byron authored Nov 17, 2022
2 parents 334ef84 + 0370014 commit 5cfacac
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 1000
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For performance critical 64 bit applications, a simplified version of memory map

## Prerequisites

* Python 3.6+
* Python 3.7+
* OSX, Windows or Linux

The package was tested on all of the previously mentioned configurations.
Expand Down
2 changes: 1 addition & 1 deletion doc/source/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ For performance critical 64 bit applications, a simplified version of memory map
#############
Prerequisites
#############
* Python 3.6+
* Python 3.7+
* OSX, Windows or Linux

The package was tested on all of the previously mentioned configurations.
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
license="BSD",
packages=find_packages(),
zip_safe=True,
python_requires=">=3.6",
python_requires=">=3.7",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand All @@ -38,7 +38,6 @@
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down
2 changes: 1 addition & 1 deletion smmap/buf.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __getslice__(self, i, j):
d = d.tobytes()
md.append(d)
# END while there are bytes to read
return bytes().join(md)
return b''.join(md)
# END fast or slow path
#{ Interface

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = flake8, py36, py37, py38, py39, py310
envlist = flake8, py{37, 38, 39, 310, 311}

[testenv]
commands = {envpython} -m pytest --cov smmap --cov-report xml {posargs}
Expand Down

0 comments on commit 5cfacac

Please sign in to comment.