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
7d3a2417
Commit
7d3a2417
authored
Apr 15, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify installation in appveyor.yml
parent
acb6c056
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
appveyor.yml
appveyor.yml
+6
-4
src/gevent/tests/test__socket_dns.py
src/gevent/tests/test__socket_dns.py
+4
-0
No files found.
appveyor.yml
View file @
7d3a2417
...
...
@@ -11,7 +11,9 @@ environment:
# too often we get failures to resolve DNS names or failures
# to connect on AppVeyor.
GEVENTTEST_USE_RESOURCES
:
"
-network"
PYTHONTRACEMALLOC
:
10
# Enable this if debugging a resource leak. Otherwise
# it slows things down.
# PYTHONTRACEMALLOC: 10
matrix
:
...
...
@@ -155,8 +157,8 @@ build_script:
# Build the compiled extension
# Try to get some things that don't wind up in the pip cache as
# built wheels if they're built during an isolated build.
-
"
%CMD_IN_ENV%
%PYEXE%
-m
pip
install
-U
pycparser
wheel
cython
setuptools
cffi
wrapt
"
-
if not "%GWHEEL_ONLY%"=="true" %PYEXE% -m pip install -
r dev-requirements.txt
-
"
%CMD_IN_ENV%
%PYEXE%
-m
pip
install
-U
wheel
cython
setuptools
cffi
"
-
if not "%GWHEEL_ONLY%"=="true" %PYEXE% -m pip install -
U -e .[test]
test_script
:
# Run the project tests
...
...
@@ -171,7 +173,7 @@ after_test:
# https://ci.appveyor.com/project/denik/gevent/builds/23810605/job/83aw4u67artt002b#L602
# So we violate DRY and repeate some requirements in order to use
# --no-build-isolation
-
"
%CMD_IN_ENV%
%PYEXE%
-m
pip
install
-U
pycparser
wheel
cython
setuptools
cffi"
-
"
%CMD_IN_ENV%
%PYEXE%
-m
pip
install
wheel
cython
setuptools
cffi"
-
"
%CMD_IN_ENV%
%PYEXE%
-m
pip
wheel
--no-build-isolation
.
-w
dist"
-
ps
:
"
ls
dist"
...
...
src/gevent/tests/test__socket_dns.py
View file @
7d3a2417
...
...
@@ -709,10 +709,14 @@ class Test_getnameinfo_127001(TestCase):
class
Test_getnameinfo_geventorg
(
TestCase
):
@
unittest
.
skipIf
(
RESOLVER_DNSPYTHON
,
"dnspython raises an error when multiple results are returned"
)
def
test_NUMERICHOST
(
self
):
self
.
_test
(
'getnameinfo'
,
(
TestGeventOrg
.
HOSTNAME
,
80
),
0
)
self
.
_test
(
'getnameinfo'
,
(
TestGeventOrg
.
HOSTNAME
,
80
),
socket
.
NI_NUMERICHOST
)
@
unittest
.
skipIf
(
RESOLVER_DNSPYTHON
,
"dnspython raises an error when multiple results are returned"
)
def
test_NUMERICSERV
(
self
):
self
.
_test
(
'getnameinfo'
,
(
TestGeventOrg
.
HOSTNAME
,
80
),
socket
.
NI_NUMERICSERV
)
...
...
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