Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5cfacac

Browse files
authored
Merge pull request#48 from hugovk/master
Add support for Python 3.11
2 parents334ef84 +0370014 commit5cfacac

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

‎.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
runs-on:ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version:["3.6", "3.7", "3.8", "3.9", "3.10"]
18+
python-version:["3.7", "3.8", "3.9", "3.10", "3.11"]
1919

2020
steps:
21-
-uses:actions/checkout@v2
21+
-uses:actions/checkout@v3
2222
with:
2323
fetch-depth:1000
2424
-name:Set up Python ${{ matrix.python-version }}
25-
uses:actions/setup-python@v2
25+
uses:actions/setup-python@v4
2626
with:
2727
python-version:${{ matrix.python-version }}
2828
-name:Install dependencies

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For performance critical 64 bit applications, a simplified version of memory map
2727

2828
##Prerequisites
2929

30-
* Python 3.6+
30+
* Python 3.7+
3131
* OSX, Windows or Linux
3232

3333
The package was tested on all of the previously mentioned configurations.

‎doc/source/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For performance critical 64 bit applications, a simplified version of memory map
2020
#############
2121
Prerequisites
2222
#############
23-
* Python 3.6+
23+
* Python 3.7+
2424
* OSX, Windows or Linux
2525

2626
The package was tested on all of the previously mentioned configurations.

‎setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
license="BSD",
2727
packages=find_packages(),
2828
zip_safe=True,
29-
python_requires=">=3.6",
29+
python_requires=">=3.7",
3030
classifiers=[
3131
"Development Status :: 5 - Production/Stable",
3232
"Environment :: Console",
@@ -38,7 +38,6 @@
3838
"Operating System :: MacOS :: MacOS X",
3939
"Programming Language :: Python",
4040
"Programming Language :: Python :: 3",
41-
"Programming Language :: Python :: 3.6",
4241
"Programming Language :: Python :: 3.7",
4342
"Programming Language :: Python :: 3.8",
4443
"Programming Language :: Python :: 3.9",

‎smmap/buf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def __getslice__(self, i, j):
9393
d=d.tobytes()
9494
md.append(d)
9595
# END while there are bytes to read
96-
returnbytes().join(md)
96+
returnb''.join(md)
9797
# END fast or slow path
9898
#{ Interface
9999

‎tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp