Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
3ca670ef
Commit
3ca670ef
authored
Dec 08, 2021
by
Jason Madden
Committed by
GitHub
Dec 08, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1844 from gevent/py310final
Update to testing 3.10.0 final
parents
e5c31feb
290af773
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
4 deletions
+17
-4
.github/workflows/ci.yml
.github/workflows/ci.yml
+2
-2
appveyor.yml
appveyor.yml
+1
-1
src/greentest/3.10/test_threading.py
src/greentest/3.10/test_threading.py
+13
-0
src/greentest/3.10/version
src/greentest/3.10/version
+1
-1
No files found.
.github/workflows/ci.yml
View file @
3ca670ef
...
...
@@ -145,7 +145,7 @@ jobs:
runs-on
:
${{ matrix.os }}
strategy
:
matrix
:
python-version
:
[
2.7
,
pypy-2.7
,
pypy-3.6
,
3.6
,
3.7
,
3.8
,
3.9
,
'
3.10.0
-rc.1
'
]
python-version
:
[
2.7
,
pypy-2.7
,
pypy-3.6
,
3.6
,
3.7
,
3.8
,
3.9
,
'
3.10.0'
]
# ubuntu-latest is at least 20.04. But this breaks the SSL
# tests because Ubuntu increased the default OpenSSL
# strictness.
...
...
@@ -174,7 +174,7 @@ jobs:
-
os
:
ubuntu-18.04
python-version
:
3.9
-
os
:
ubuntu-18.04
python-version
:
'
3.10.0
-rc.1
'
python-version
:
'
3.10.0'
steps
:
-
name
:
checkout
uses
:
actions/checkout@v2
...
...
appveyor.yml
View file @
3ca670ef
...
...
@@ -42,7 +42,7 @@ environment:
# 64-bit
-
PYTHON
:
"
C:
\\
Python310-x64"
PYTHON_VERSION
:
"
3.10.0
rc1
"
PYTHON_VERSION
:
"
3.10.0"
PYTHON_ARCH
:
"
64"
PYTHON_EXE
:
python
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio
2019
...
...
src/greentest/3.10/test_threading.py
View file @
3ca670ef
...
...
@@ -33,6 +33,9 @@ from test import support
# on platforms known to behave badly.
platforms_to_skip
=
(
'netbsd5'
,
'hp-ux11'
)
# Is Python built with Py_DEBUG macro defined?
Py_DEBUG
=
hasattr
(
sys
,
'gettotalrefcount'
)
def
restore_default_excepthook
(
testcase
):
testcase
.
addCleanup
(
setattr
,
threading
,
'excepthook'
,
threading
.
excepthook
)
...
...
@@ -916,6 +919,16 @@ class ThreadTests(BaseTestCase):
threading
.
Thread
(
target
=
noop
).
start
()
# Thread.join() is not called
@
unittest
.
skipUnless
(
Py_DEBUG
,
'need debug build (Py_DEBUG)'
)
def
test_debug_deprecation
(
self
):
# bpo-44584: The PYTHONTHREADDEBUG environment variable is deprecated
rc
,
out
,
err
=
assert_python_ok
(
"-Wdefault"
,
"-c"
,
"pass"
,
PYTHONTHREADDEBUG
=
"1"
)
msg
=
(
b'DeprecationWarning: The threading debug '
b'(PYTHONTHREADDEBUG environment variable) '
b'is deprecated and will be removed in Python 3.12'
)
self
.
assertIn
(
msg
,
err
)
class
ThreadJoinOnShutdown
(
BaseTestCase
):
...
...
src/greentest/3.10/version
View file @
3ca670ef
3.10.0
rc1
3.10.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment