otter-service-stdalone 1.1.22__py3-none-any.whl → 1.1.23__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- otter_service_stdalone/__init__.py +1 -1
- otter_service_stdalone/util.py +4 -4
- {otter_service_stdalone-1.1.22.dist-info → otter_service_stdalone-1.1.23.dist-info}/METADATA +1 -1
- {otter_service_stdalone-1.1.22.dist-info → otter_service_stdalone-1.1.23.dist-info}/RECORD +7 -7
- {otter_service_stdalone-1.1.22.dist-info → otter_service_stdalone-1.1.23.dist-info}/WHEEL +0 -0
- {otter_service_stdalone-1.1.22.dist-info → otter_service_stdalone-1.1.23.dist-info}/entry_points.txt +0 -0
- {otter_service_stdalone-1.1.22.dist-info → otter_service_stdalone-1.1.23.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
__version__ = "1.1.
|
1
|
+
__version__ = "1.1.23"
|
otter_service_stdalone/util.py
CHANGED
@@ -2,7 +2,7 @@ import re
|
|
2
2
|
import zipfile
|
3
3
|
|
4
4
|
|
5
|
-
def
|
5
|
+
def is_version_6_or_greater(zip_ref, target_file, reg):
|
6
6
|
if target_file:
|
7
7
|
with zip_ref.open(target_file) as file:
|
8
8
|
content = file.read().decode('utf-8')
|
@@ -10,7 +10,7 @@ def is_version_5_or_greater(zip_ref, target_file, reg):
|
|
10
10
|
if match:
|
11
11
|
version = match.group(2)
|
12
12
|
version_nums = version.split(".")
|
13
|
-
if len(version_nums)
|
13
|
+
if len(version_nums) >= 3 and int(version_nums[0]) >= 6 and int(version_nums[2]) >= 4:
|
14
14
|
return True
|
15
15
|
return False
|
16
16
|
|
@@ -31,6 +31,6 @@ def otter_version_correct(autograder_path):
|
|
31
31
|
if 'environment.yml' in file_list:
|
32
32
|
env_target_file = 'environment.yml'
|
33
33
|
|
34
|
-
otter_in_req =
|
35
|
-
otter_in_env =
|
34
|
+
otter_in_req = is_version_6_or_greater(zip_ref, req_target_file, requirements_regex)
|
35
|
+
otter_in_env = is_version_6_or_greater(zip_ref, env_target_file, environment_regex)
|
36
36
|
return otter_in_req or otter_in_env
|
@@ -1,4 +1,4 @@
|
|
1
|
-
otter_service_stdalone/__init__.py,sha256=
|
1
|
+
otter_service_stdalone/__init__.py,sha256=fgJZSYIimVPVamLk6_zqVnLfKSIBOL-sJ5HAD2mB8vY,23
|
2
2
|
otter_service_stdalone/access_sops_keys.py,sha256=nboU5aZ84Elrm5vO0dMgpIF5LLcnecpNAwpxKvj6DvU,2129
|
3
3
|
otter_service_stdalone/app.py,sha256=0EqrdcZEBiqLVAspltSmRe9yDCGiMxZVIWp28sG8kf4,15820
|
4
4
|
otter_service_stdalone/fs_logging.py,sha256=IKFZkc5TmpI6G3vTYFAU9jDjQ-GT5aRxk8kdZ0h0kJE,2390
|
@@ -6,7 +6,7 @@ otter_service_stdalone/grade_notebooks.py,sha256=x19MK_ResW-xM3mdwEUALsdsCiX4I1O
|
|
6
6
|
otter_service_stdalone/index.html,sha256=eEbFGxbV-plE5bAggGYHTv1q7yqoTN4kJbzL729uMmk,7276
|
7
7
|
otter_service_stdalone/upload_handle.py,sha256=PbpQEyUIPKercJ9hegKwvxHBvSc9uylhIfwjvHybjs0,5061
|
8
8
|
otter_service_stdalone/user_auth.py,sha256=L9Kfj1BsQttAteHhRn71IUY8WX9nvBy3MXVGq1yjTtE,4253
|
9
|
-
otter_service_stdalone/util.py,sha256=
|
9
|
+
otter_service_stdalone/util.py,sha256=O8NKOFZiS2cg6feHlPjMCumFqnfshwC7nyyJ-T-RIAo,1404
|
10
10
|
otter_service_stdalone/scripts/web_socket.js,sha256=0h71SNvaD7WNQ735KvuqAPsLYvqHyxzUbLWMu-8qYds,6348
|
11
11
|
otter_service_stdalone/secrets/gh_key.dev.yaml,sha256=ORUVDu8SDcv0OE2ThwROppeg7y8oLkJJbPTCMn0s5l0,1138
|
12
12
|
otter_service_stdalone/secrets/gh_key.local.yaml,sha256=NtPXXyGf1iSgJ9Oa2ahvIEf_fcmflB3dwd3LWyCgxis,1138
|
@@ -15,8 +15,8 @@ otter_service_stdalone/secrets/gh_key.staging.yaml,sha256=cKVqj4dcwuz2LhXwMNQy_1
|
|
15
15
|
otter_service_stdalone/static_files/README_DO_NOT_DISTRIBUTE.txt,sha256=eMqBa1du1u0c07fuG3Eu9DDHuixRTFEbiQwrlvAnL1Y,353
|
16
16
|
otter_service_stdalone/static_templates/403.html,sha256=7eO3XQsEkl4nF8PEeFkLwCzGBfdZ3kkkeu_Kgpgbh0k,1440
|
17
17
|
otter_service_stdalone/static_templates/500.html,sha256=t6DeEMp8piSWyBToHb_JpTrw3GStAHFrozlmeuXyamg,1421
|
18
|
-
otter_service_stdalone-1.1.
|
19
|
-
otter_service_stdalone-1.1.
|
20
|
-
otter_service_stdalone-1.1.
|
21
|
-
otter_service_stdalone-1.1.
|
22
|
-
otter_service_stdalone-1.1.
|
18
|
+
otter_service_stdalone-1.1.23.dist-info/METADATA,sha256=i6DVSPm1aJprlUlfZ0bo9kNvPkpfGfdP1jcyRwSVuJ8,1468
|
19
|
+
otter_service_stdalone-1.1.23.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
20
|
+
otter_service_stdalone-1.1.23.dist-info/entry_points.txt,sha256=cx447chuIEl8ly9jEoF5-2xNhaKsWcIMDdhUMH_00qQ,75
|
21
|
+
otter_service_stdalone-1.1.23.dist-info/top_level.txt,sha256=6UP22fD4OhbLt23E01v8Kvjn44vPRbyTIg_GqMYL-Ng,23
|
22
|
+
otter_service_stdalone-1.1.23.dist-info/RECORD,,
|
File without changes
|
{otter_service_stdalone-1.1.22.dist-info → otter_service_stdalone-1.1.23.dist-info}/entry_points.txt
RENAMED
File without changes
|
{otter_service_stdalone-1.1.22.dist-info → otter_service_stdalone-1.1.23.dist-info}/top_level.txt
RENAMED
File without changes
|