Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
65995034
Commit
65995034
authored
Jan 17, 2023
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup.py: Add selectors34 dependency for SlapPopen
parent
50507d2b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
setup.py
setup.py
+1
-0
slapos/grid/utils.py
slapos/grid/utils.py
+2
-1
No files found.
setup.py
View file @
65995034
...
@@ -80,6 +80,7 @@ setup(name=name,
...
@@ -80,6 +80,7 @@ setup(name=name,
'distro'
,
'distro'
,
'subprocess32; python_version<"3"'
,
'subprocess32; python_version<"3"'
,
'enum34; python_version<"3"'
,
'enum34; python_version<"3"'
,
'selectors34; python_version<"3"'
,
# used by SlapPopen (grid/utils)
'ipaddress; python_version<"3"'
,
# used by whitelistfirewall
'ipaddress; python_version<"3"'
,
# used by whitelistfirewall
]
+
additional_install_requires
,
]
+
additional_install_requires
,
extras_require
=
extras_require
,
extras_require
=
extras_require
,
...
...
slapos/grid/utils.py
View file @
65995034
...
@@ -33,7 +33,6 @@ import hashlib
...
@@ -33,7 +33,6 @@ import hashlib
import
os
import
os
import
pkg_resources
import
pkg_resources
import
pwd
import
pwd
import
selectors
import
stat
import
stat
import
sys
import
sys
import
logging
import
logging
...
@@ -41,8 +40,10 @@ import psutil
...
@@ -41,8 +40,10 @@ import psutil
import
time
import
time
if
sys
.
version_info
>=
(
3
,):
if
sys
.
version_info
>=
(
3
,):
import
selectors
import
subprocess
import
subprocess
else
:
else
:
import
selectors34
as
selectors
import
subprocess32
as
subprocess
import
subprocess32
as
subprocess
...
...
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