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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
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
Hide 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,
'distro'
,
'subprocess32; python_version<"3"'
,
'enum34; python_version<"3"'
,
'selectors34; python_version<"3"'
,
# used by SlapPopen (grid/utils)
'ipaddress; python_version<"3"'
,
# used by whitelistfirewall
]
+
additional_install_requires
,
extras_require
=
extras_require
,
...
...
slapos/grid/utils.py
View file @
65995034
...
...
@@ -33,7 +33,6 @@ import hashlib
import
os
import
pkg_resources
import
pwd
import
selectors
import
stat
import
sys
import
logging
...
...
@@ -41,8 +40,10 @@ import psutil
import
time
if
sys
.
version_info
>=
(
3
,):
import
selectors
import
subprocess
else
:
import
selectors34
as
selectors
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