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:
3232 fail-fast : false
3333 matrix :
3434 python-version :
35- - " 3.5 "
36- - " 3.9 "
35+ - " 3.6 "
36+ - " 3.10 "
3737 JHUB_VER :
38- - " 0.9.6"
3938 - " 1.0.0"
40- - " 1.1.0"
41- - " 1.2.0"
42- - " 1.3.0"
39+ - " 1.5.1"
40+ - " 2.3.1"
4341 allow_failure : [false]
4442
4543 exclude :
5351 - JHUB_VER : " main"
5452 python-version : " 3.9"
5553 allow_failure : true
54+ - JHUB_VER : " 3.0.0"
55+ python-version : " 3.9"
56+ allow_failure : true
5657
5758 steps :
5859 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1010#
1111repos :
1212 # 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"
1515 hooks :
1616 - 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
1824
1925 # Autoformat: markdown, yaml
2026 - repo : https://github.com/pre-commit/mirrors-prettier
21- rev : v2.2.1
27+ rev : v3.0.0-alpha.4
2228 hooks :
2329 - id : prettier
2430
2531 # 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 "
2834 hooks :
2935 - id : flake8
3036
3137 # Misc...
3238 - repo : https://github.com/pre-commit/pre-commit-hooks
33- rev : v3 .4.0
39+ rev : v4 .4.0
3440 # ref: https://github.com/pre-commit/pre-commit-hooks#hooks-available
3541 hooks :
3642 # Autoformat: Makes sure files end in a newline and only a newline.
4854
4955 # Lint: Checks that non-binary executables have a proper shebang.
5056 - 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
1010
1111Fixed
1212
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+
1325## v1.1
1426
1527Added (user)
Original file line number Diff line number Diff line change @@ -969,7 +969,7 @@ def state_isrunning(self):
969969
970970 def state_gethost (self ):
971971 if self .job_status :
972- return self .job_status .split (" " )[1 ].strip ()
972+ return self .job_status .split (" " )[1 ].strip (). split ( ":" )[ 0 ]
973973
974974 self .log .error (
975975 "Spawner unable to match host addr in job {0} with status {1}" .format (
Original file line number Diff line number Diff line change 33
44version_info = (
55 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
99)
1010__version__ = "." .join (map (str , version_info ))
You can’t perform that action at this time.
0 commit comments