otter-service-stdalone 1.1.17__py3-none-any.whl → 1.1.18__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.
@@ -1 +1 @@
1
- __version__ = "1.1.17"
1
+ __version__ = "1.1.18"
@@ -8,7 +8,7 @@ def is_version_5_or_greater(zip_ref, target_file, reg):
8
8
  content = file.read().decode('utf-8')
9
9
  match = reg.search(content)
10
10
  if match:
11
- version = match.group(1)
11
+ version = match.group(2)
12
12
  version_nums = version.split(".")
13
13
  if len(version_nums) > 0 and int(version_nums[0]) >= 5:
14
14
  return True
@@ -16,8 +16,8 @@ def is_version_5_or_greater(zip_ref, target_file, reg):
16
16
 
17
17
 
18
18
  def otter_version_correct(autograder_path):
19
- requirements_regex = re.compile(r"(otter-grader)(\[[\w,]+\])?==([\d\.]+)")
20
- environment_regex = re.compile(r"(otter-grader)(\[[\w,]+\])?==([\d\.]+)")
19
+ requirements_regex = re.compile(r"otter-grader(\[.*?\])?==([\d.]+)")
20
+ environment_regex = re.compile(r"otter-grader(\[.*?\])?==([\d.]+)")
21
21
  # Open the zip file
22
22
  with zipfile.ZipFile(autograder_path, 'r') as zip_ref:
23
23
  # Get a list of files in the zip
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: otter_service_stdalone
3
- Version: 1.1.17
3
+ Version: 1.1.18
4
4
  Summary: Grading Service for Instructors using Otter Grader
5
5
  Home-page: https://github.com/sean-morris/otter-service-stdalone
6
6
  Author: Sean Morris
@@ -1,4 +1,4 @@
1
- otter_service_stdalone/__init__.py,sha256=C7Fq27hi-f7w7D-FFBVOPYDtBGz0o_9aKbZVhClz_9c,23
1
+ otter_service_stdalone/__init__.py,sha256=c0Mn_T8CBPv6nWOJABXp-LL3wBoK1Sh0fuJbInOhON0,23
2
2
  otter_service_stdalone/access_sops_keys.py,sha256=nboU5aZ84Elrm5vO0dMgpIF5LLcnecpNAwpxKvj6DvU,2129
3
3
  otter_service_stdalone/app.py,sha256=uEuCKRa5_MFe591KcbWghyIn2YHeroi-9zGRyjSFY9I,15590
4
4
  otter_service_stdalone/fs_logging.py,sha256=IKFZkc5TmpI6G3vTYFAU9jDjQ-GT5aRxk8kdZ0h0kJE,2390
@@ -6,7 +6,7 @@ otter_service_stdalone/grade_notebooks.py,sha256=GvtjY7Fn3mYcJU5oF1KO-TygmI822XD
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=hiqKWwCB6w-lGVcRf5VkP7SiZf78anbn8rCURY9Uvis,1385
9
+ otter_service_stdalone/util.py,sha256=hpNhbjiP51KBLbb67dPmqUSBYNxC6d7DXZWP5IWZCoU,1373
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.17.dist-info/METADATA,sha256=yQtSPQupzL3M-55gx1Ld-p6ityjEkwCxedqnQ4DpDHk,1468
19
- otter_service_stdalone-1.1.17.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
20
- otter_service_stdalone-1.1.17.dist-info/entry_points.txt,sha256=cx447chuIEl8ly9jEoF5-2xNhaKsWcIMDdhUMH_00qQ,75
21
- otter_service_stdalone-1.1.17.dist-info/top_level.txt,sha256=6UP22fD4OhbLt23E01v8Kvjn44vPRbyTIg_GqMYL-Ng,23
22
- otter_service_stdalone-1.1.17.dist-info/RECORD,,
18
+ otter_service_stdalone-1.1.18.dist-info/METADATA,sha256=L-9G4m68sjW8r_X7im3zGTOoN0LCcBnN72rSy4yUbkI,1468
19
+ otter_service_stdalone-1.1.18.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
20
+ otter_service_stdalone-1.1.18.dist-info/entry_points.txt,sha256=cx447chuIEl8ly9jEoF5-2xNhaKsWcIMDdhUMH_00qQ,75
21
+ otter_service_stdalone-1.1.18.dist-info/top_level.txt,sha256=6UP22fD4OhbLt23E01v8Kvjn44vPRbyTIg_GqMYL-Ng,23
22
+ otter_service_stdalone-1.1.18.dist-info/RECORD,,