File tree Expand file tree Collapse file tree 5 files changed +41
-17
lines changed Expand file tree Collapse file tree 5 files changed +41
-17
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,12 @@ jobs:
32
32
fail-fast : false
33
33
matrix :
34
34
python-version :
35
- - " 3.5 "
36
- - " 3.9 "
35
+ - " 3.6 "
36
+ - " 3.10 "
37
37
JHUB_VER :
38
- - " 0.9.6"
39
38
- " 1.0.0"
40
- - " 1.1.0"
41
- - " 1.2.0"
42
- - " 1.3.0"
39
+ - " 1.5.1"
40
+ - " 2.3.1"
43
41
allow_failure : [false]
44
42
45
43
exclude :
53
51
- JHUB_VER : " main"
54
52
python-version : " 3.9"
55
53
allow_failure : true
54
+ - JHUB_VER : " 3.0.0"
55
+ python-version : " 3.9"
56
+ allow_failure : true
56
57
57
58
steps :
58
59
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 10
10
#
11
11
repos :
12
12
# Autoformat: Python code
13
- - repo : https://github.com/ambv /black
14
- rev : " 22.3 .0"
13
+ - repo : https://github.com/psf /black
14
+ rev : " 22.12 .0"
15
15
hooks :
16
16
- id : black
17
- args : [--target-version=py36]
17
+ args :
18
+ - --target-version=py36
19
+ - --target-version=py37
20
+ - --target-version=py38
21
+ - --target-version=py39
22
+ - --target-version=py310
23
+ - --target-version=py311
18
24
19
25
# Autoformat: markdown, yaml
20
26
- repo : https://github.com/pre-commit/mirrors-prettier
21
- rev : v2.2.1
27
+ rev : v3.0.0-alpha.4
22
28
hooks :
23
29
- id : prettier
24
30
25
31
# Lint: Python code
26
- - repo : https://gitlab .com/pycqa /flake8
27
- rev : " 3.8.4 "
32
+ - repo : https://github .com/PyCQA /flake8
33
+ rev : " 6.0.0 "
28
34
hooks :
29
35
- id : flake8
30
36
31
37
# Misc...
32
38
- repo : https://github.com/pre-commit/pre-commit-hooks
33
- rev : v3 .4.0
39
+ rev : v4 .4.0
34
40
# ref: https://github.com/pre-commit/pre-commit-hooks#hooks-available
35
41
hooks :
36
42
# Autoformat: Makes sure files end in a newline and only a newline.
48
54
49
55
# Lint: Checks that non-binary executables have a proper shebang.
50
56
- id : check-executables-have-shebangs
57
+
58
+
59
+ # pre-commit.ci config reference: https://pre-commit.ci/#configuration
60
+ ci :
61
+ autoupdate_schedule : monthly
Original file line number Diff line number Diff line change @@ -10,6 +10,18 @@ Changed
10
10
11
11
Fixed
12
12
13
+ ## v1.2
14
+
15
+ Changed
16
+
17
+ - PR #237 : Replace use of scripts with entry_points
18
+ - PR #208 #238 #239 #240 #241 : updates to CI - bumping versions and aligning with Jupyterhub standards
19
+ - PR #220 : remove code supporting Jupyterhub earlier than 0.9
20
+
21
+ Fixed
22
+
23
+ - PR #229 : LSF jobs with multiple slots display each hostname ':' separated
24
+
13
25
## v1.1
14
26
15
27
Added (user)
Original file line number Diff line number Diff line change @@ -969,7 +969,7 @@ def state_isrunning(self):
969
969
970
970
def state_gethost (self ):
971
971
if self .job_status :
972
- return self .job_status .split (" " )[1 ].strip ()
972
+ return self .job_status .split (" " )[1 ].strip (). split ( ":" )[ 0 ]
973
973
974
974
self .log .error (
975
975
"Spawner unable to match host addr in job {0} with status {1}" .format (
Original file line number Diff line number Diff line change 3
3
4
4
version_info = (
5
5
1 ,
6
- 1 ,
7
- 1 ,
8
- "dev" , # comment-out this line for a release
6
+ 2 ,
7
+ 0 ,
8
+ # "dev", # comment-out this line for a release
9
9
)
10
10
__version__ = "." .join (map (str , version_info ))
You can’t perform that action at this time.
0 commit comments