pumapy 2.2.1__tar.gz → 2.3.1__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.
Files changed (30) hide show
  1. {pumapy-2.2.1/pumapy.egg-info → pumapy-2.3.1}/PKG-INFO +2 -3
  2. pumapy-2.3.1/puma/version.py +1 -0
  3. {pumapy-2.2.1 → pumapy-2.3.1/pumapy.egg-info}/PKG-INFO +2 -3
  4. {pumapy-2.2.1 → pumapy-2.3.1}/pumapy.egg-info/SOURCES.txt +2 -1
  5. {pumapy-2.2.1 → pumapy-2.3.1}/pumapy.egg-info/requires.txt +1 -2
  6. {pumapy-2.2.1 → pumapy-2.3.1}/setup.py +1 -2
  7. pumapy-2.3.1/test/test_version.py +44 -0
  8. pumapy-2.2.1/puma/version.py +0 -1
  9. {pumapy-2.2.1 → pumapy-2.3.1}/LICENSE.txt +0 -0
  10. {pumapy-2.2.1 → pumapy-2.3.1}/README.md +0 -0
  11. {pumapy-2.2.1 → pumapy-2.3.1}/puma/__init__.py +0 -0
  12. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/__init__.py +0 -0
  13. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/__init__.py +0 -0
  14. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/appium_actions.py +0 -0
  15. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/google_maps/__init__.py +0 -0
  16. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/google_maps/google_maps.py +0 -0
  17. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/snapchat/__init__.py +0 -0
  18. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/snapchat/snapchat.py +0 -0
  19. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/telegram/__init__.py +0 -0
  20. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/telegram/telegram.py +0 -0
  21. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/whatsapp/__init__.py +0 -0
  22. {pumapy-2.2.1 → pumapy-2.3.1}/puma/apps/android/whatsapp/whatsapp.py +0 -0
  23. {pumapy-2.2.1 → pumapy-2.3.1}/puma/computer_vision/__init__.py +0 -0
  24. {pumapy-2.2.1 → pumapy-2.3.1}/puma/computer_vision/ocr.py +0 -0
  25. {pumapy-2.2.1 → pumapy-2.3.1}/puma/utils/__init__.py +0 -0
  26. {pumapy-2.2.1 → pumapy-2.3.1}/puma/utils/route_simulator.py +0 -0
  27. {pumapy-2.2.1 → pumapy-2.3.1}/puma/utils/video_utils.py +0 -0
  28. {pumapy-2.2.1 → pumapy-2.3.1}/pumapy.egg-info/dependency_links.txt +0 -0
  29. {pumapy-2.2.1 → pumapy-2.3.1}/pumapy.egg-info/top_level.txt +0 -0
  30. {pumapy-2.2.1 → pumapy-2.3.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pumapy
3
- Version: 2.2.1
3
+ Version: 2.3.1
4
4
  Home-page: https://github.com/NetherlandsForensicInstitute/puma
5
5
  Author: Netherlands Forensic Institute
6
6
  Author-email: netherlandsforensicinstitute@users.noreply.github.com
@@ -11,11 +11,10 @@ Requires-Dist: appium-python-client~=4.2.0
11
11
  Requires-Dist: selenium==4.14.0
12
12
  Requires-Dist: Pillow==10.4.0
13
13
  Requires-Dist: pytesseract==0.3.10
14
- Requires-Dist: adb-pywrapper==1.0.1
15
14
  Requires-Dist: geopy~=2.4.1
16
15
  Requires-Dist: setuptools~=75.1.0
17
16
  Requires-Dist: gpxpy~=1.6.2
18
- Requires-Dist: adb_pywrapper~=1.0.1
17
+ Requires-Dist: adb_pywrapper~=1.0.2
19
18
  Requires-Dist: requests~=2.32.3
20
19
 
21
20
  # Puma - Programmable Utility for Mobile Automation
@@ -0,0 +1 @@
1
+ version = "2.3.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pumapy
3
- Version: 2.2.1
3
+ Version: 2.3.1
4
4
  Home-page: https://github.com/NetherlandsForensicInstitute/puma
5
5
  Author: Netherlands Forensic Institute
6
6
  Author-email: netherlandsforensicinstitute@users.noreply.github.com
@@ -11,11 +11,10 @@ Requires-Dist: appium-python-client~=4.2.0
11
11
  Requires-Dist: selenium==4.14.0
12
12
  Requires-Dist: Pillow==10.4.0
13
13
  Requires-Dist: pytesseract==0.3.10
14
- Requires-Dist: adb-pywrapper==1.0.1
15
14
  Requires-Dist: geopy~=2.4.1
16
15
  Requires-Dist: setuptools~=75.1.0
17
16
  Requires-Dist: gpxpy~=1.6.2
18
- Requires-Dist: adb_pywrapper~=1.0.1
17
+ Requires-Dist: adb_pywrapper~=1.0.2
19
18
  Requires-Dist: requests~=2.32.3
20
19
 
21
20
  # Puma - Programmable Utility for Mobile Automation
@@ -23,4 +23,5 @@ pumapy.egg-info/PKG-INFO
23
23
  pumapy.egg-info/SOURCES.txt
24
24
  pumapy.egg-info/dependency_links.txt
25
25
  pumapy.egg-info/requires.txt
26
- pumapy.egg-info/top_level.txt
26
+ pumapy.egg-info/top_level.txt
27
+ test/test_version.py
@@ -2,9 +2,8 @@ appium-python-client~=4.2.0
2
2
  selenium==4.14.0
3
3
  Pillow==10.4.0
4
4
  pytesseract==0.3.10
5
- adb-pywrapper==1.0.1
6
5
  geopy~=2.4.1
7
6
  setuptools~=75.1.0
8
7
  gpxpy~=1.6.2
9
- adb_pywrapper~=1.0.1
8
+ adb_pywrapper~=1.0.2
10
9
  requests~=2.32.3
@@ -20,11 +20,10 @@ setup(
20
20
  "selenium==4.14.0",
21
21
  "Pillow==10.4.0",
22
22
  "pytesseract==0.3.10",
23
- "adb-pywrapper==1.0.1",
24
23
  "geopy~=2.4.1",
25
24
  "setuptools~=75.1.0",
26
25
  "gpxpy~=1.6.2",
27
- "adb_pywrapper~=1.0.1",
26
+ "adb_pywrapper~=1.0.2",
28
27
  "requests~=2.32.3"
29
28
  ],
30
29
  )
@@ -0,0 +1,44 @@
1
+ import os
2
+ import re
3
+ import unittest
4
+ from puma.utils import PROJECT_ROOT
5
+ from puma.version import version as setup_version
6
+
7
+
8
+ def read_release_notes(file_path: str) -> [str]:
9
+ """
10
+ Read the content of the release notes file.
11
+ :param file_path: The path to the release notes file.
12
+ :return: The content of the release notes file.
13
+ """
14
+ with open(file_path, 'r') as file:
15
+ return file.readlines()
16
+
17
+
18
+ class TestVersion(unittest.TestCase):
19
+
20
+ def setUp(self):
21
+ self.release_notes_path = f"{PROJECT_ROOT}/RELEASE_NOTES"
22
+ self.release_notes = read_release_notes(self.release_notes_path)
23
+ self.first_version_in_release_notes = self._get_first_version_in_release_notes()
24
+
25
+ def _get_first_version_in_release_notes(self):
26
+ first_line = self.release_notes[0]
27
+ match = re.search(r'(\d+\.\d+\.\d+)', first_line)
28
+ return match.group(1) if match else None
29
+
30
+ def test_version_in_release_notes_same_as_setup(self):
31
+ self.assertIsNotNone(self.first_version_in_release_notes)
32
+ self.assertEqual(self.first_version_in_release_notes, setup_version,
33
+ "Version in release notes is not equal to setup version")
34
+
35
+ def test_versions_same_as_github(self):
36
+ github_tag_version = os.getenv('GITHUB_TAG_VERSION')
37
+ # Only run this test when a release is made from GitHub (i.e. the above environment variable is set)
38
+ if github_tag_version is None:
39
+ self.skipTest("Skipping GitHub version test as no tag version was passed.")
40
+
41
+ self.assertEqual(github_tag_version, self.first_version_in_release_notes,
42
+ "GitHub tag version is not equal to top version in release notes")
43
+ self.assertEqual(github_tag_version, setup_version,
44
+ "GitHub tag version is not equal to setup version")
@@ -1 +0,0 @@
1
- version = "2.2.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes