mumuki-python-runner 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4d71782cc6a4bb668ebd27663806c9e71b4286064d2b4229cd1b506fc940298
4
- data.tar.gz: 65489c77da9b7792c91b03675cc64c357667fa0c2fd875e5a271d46b5be798e3
3
+ metadata.gz: dbc061e567fe9908248e887785edd1eff8e58b4476d100f8038a92b8c8c5a67f
4
+ data.tar.gz: 6e9cbf4ee3c0f325c3c069449749b22179f17186f66e2fee905db0cf2ce412e7
5
5
  SHA512:
6
- metadata.gz: 31edbca36fcfd89180a4228c3e3c5f8bf715ede959697d906b25c8391efabec4c609dd3264bf2c38213fca1e0770d187256cf527cf992b0ef586af0bba03dfbe
7
- data.tar.gz: ae718c4c3119f79d96f00480418e9d2d1eaf2ae42bc2f9083de2a602719a6c9b30a4c00da8aeaf2c600e86db3f68f7bb4db54ca74dc21aef4ae00e138e3c43ef
6
+ metadata.gz: 3fb0ca410a3646ac41ceab49250378b89b705879102f26f02537e71b2c94d6cac2798cbf5d4ecec0a015f383ae30a916abfb48f12cb01430ba9b2b96b4a1f976
7
+ data.tar.gz: 942566870256f6f55aeb68e74f135118a0be9de3b6adc39f088f60a6117a00e9cd8150ee514311b9b09d421a2d160934694f94fb6de02bb0daa87b17584a65f4
@@ -5,8 +5,8 @@ class BasePythonMetadataHook < Mumukit::Hook
5
5
  icon: {type: 'devicon', name: 'python'},
6
6
  version: version,
7
7
  extension: 'py',
8
- ace_mode: 'python'
9
- },
8
+ ace_mode: 'python',
9
+ },
10
10
  test_framework: {
11
11
  name: 'unittest',
12
12
  test_extension: 'py',
@@ -18,11 +18,15 @@ class Test(unittest.TestCase):
18
18
  python
19
19
  },
20
20
  libraries: libraries,
21
+ external_editor_instructions: external_editor_instructions
21
22
  }.compact
22
23
  end
23
24
 
24
25
  required :version
25
26
 
27
+ def external_editor_instructions
28
+ end
29
+
26
30
  def libraries
27
31
  end
28
32
  end
data/lib/base/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
2
  module BasePythonVersionHook
3
- VERSION = '1.9.0'
3
+ VERSION = '1.10.0'
4
4
  end
@@ -1,9 +1,32 @@
1
1
  class Python3MetadataHook < BasePythonMetadataHook
2
+ XCE_INSTRUCTIONS = {
3
+ 'Colab': {
4
+ 'en': File.read("xce/colab/en/README.md"),
5
+ 'pt': File.read("xce/colab/pt/README.md"),
6
+ 'es': File.read("xce/colab/es-ar/README.md"),
7
+ 'es-ar': File.read("xce/colab/es-ar/README.md")
8
+ },
9
+ 'Visual Studio Code': {
10
+ 'en': File.read("xce/visual_studio/en/README.md"),
11
+ 'pt': File.read("xce/visual_studio/pt/README.md"),
12
+ 'es': File.read("xce/visual_studio/es-ar/README.md"),
13
+ 'es-ar': File.read("xce/visual_studio/es-ar/README.md")
14
+ }
15
+ }
16
+
2
17
  def version
3
18
  '3.7.3'
4
19
  end
5
20
 
6
21
  def libraries
7
- {pandas: '1.3.3'}
22
+ {
23
+ pandas: '1.3.3',
24
+ matplotlib: '3.5.3',
25
+ seaborn: '0.12.0'
26
+ }
27
+ end
28
+
29
+ def external_editor_instructions
30
+ XCE_INSTRUCTIONS
8
31
  end
9
32
  end
@@ -3,7 +3,7 @@ require_relative './base'
3
3
  def reload_python3_runner!
4
4
  Mumukit.runner_name = 'python3'
5
5
  Mumukit.configure do |config|
6
- config.docker_image = 'mumuki/mumuki-python3-worker:0.3'
6
+ config.docker_image = 'mumuki/mumuki-python3-worker:1.0'
7
7
  config.comment_type = Mumukit::Directives::CommentType::Ruby
8
8
  config.structured = true
9
9
  config.stateful = true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-python-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-07 00:00:00.000000000 Z
11
+ date: 2022-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit