tamcoder 0.2.10__tar.gz → 0.2.12__tar.gz

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.

Potentially problematic release.


This version of tamcoder might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: tamcoder
3
- Version: 0.2.10
3
+ Version: 0.2.12
4
4
  Summary: Tamcoder installer for the official TypeScript coding-agent runtime
5
5
  Project-URL: Homepage, https://gpt.tamfitronics.com/tamcoder/
6
6
  Project-URL: Repository, https://github.com/tbtamfit/tamcoder
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tamcoder"
7
- version = "0.2.10"
7
+ version = "0.2.12"
8
8
  description = "Tamcoder installer for the official TypeScript coding-agent runtime"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -0,0 +1 @@
1
+ __version__ = "0.2.12"
@@ -5,6 +5,7 @@ import unittest
5
5
  from pathlib import Path
6
6
  from unittest.mock import patch
7
7
  from tamcoder import __main__ as shim
8
+ from tamcoder import __version__ as VERSION
8
9
 
9
10
 
10
11
  class InstallerTests(unittest.TestCase):
@@ -14,9 +15,9 @@ class InstallerTests(unittest.TestCase):
14
15
  with patch.object(shim, 'PREFIX', Path(directory)), patch.object(shim, 'urlopen', side_effect=responses) as fetch:
15
16
  with self.assertRaisesRegex(RuntimeError, 'checksum mismatch'):
16
17
  shim.ensure_runtime()
17
- self.assertIn('tamcoder-0.2.6-linux-x64.tar.gz', fetch.call_args_list[1].args[0].full_url)
18
- self.assertEqual(fetch.call_args_list[1].args[0].get_header('User-agent'), 'tamcoder/0.2.6')
19
- self.assertFalse((Path(directory) / 'share/tamcoder/releases/0.2.6').exists())
18
+ self.assertIn(f'tamcoder-{VERSION}-linux-x64.tar.gz', fetch.call_args_list[1].args[0].full_url)
19
+ self.assertEqual(fetch.call_args_list[1].args[0].get_header('User-agent'), f'tamcoder/{VERSION}')
20
+ self.assertFalse((Path(directory) / f'share/tamcoder/releases/{VERSION}').exists())
20
21
 
21
22
  def test_installed_runtime_receives_all_arguments(self):
22
23
  binary = Path('/tmp/runtime/app/bin/tamcoder')
@@ -1 +0,0 @@
1
- __version__ = "0.2.6"
File without changes
File without changes
File without changes