foxops 2.8.0__tar.gz → 2.9.0__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 (57) hide show
  1. {foxops-2.8.0 → foxops-2.9.0}/PKG-INFO +2 -2
  2. {foxops-2.8.0 → foxops-2.9.0}/pyproject.toml +5 -5
  3. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/patching/git_diff_patch.py +3 -0
  4. {foxops-2.8.0 → foxops-2.9.0}/LICENSE +0 -0
  5. {foxops-2.8.0 → foxops-2.9.0}/README.md +0 -0
  6. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/__init__.py +0 -0
  7. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/__main__.py +0 -0
  8. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/__init__.py +0 -0
  9. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/engine.py +0 -0
  10. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/repositories/__init__.py +0 -0
  11. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/repositories/change/__init__.py +0 -0
  12. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/repositories/change/errors.py +0 -0
  13. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/repositories/change/model.py +0 -0
  14. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/repositories/change/repository.py +0 -0
  15. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/repositories/incarnation/__init__.py +0 -0
  16. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/repositories/incarnation/errors.py +0 -0
  17. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/repositories/incarnation/model.py +0 -0
  18. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/repositories/incarnation/repository.py +0 -0
  19. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/database/schema.py +0 -0
  20. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/dependencies.py +0 -0
  21. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/__init__.py +0 -0
  22. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/__main__.py +0 -0
  23. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/custom_filters.py +0 -0
  24. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/errors.py +0 -0
  25. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/initialization.py +0 -0
  26. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/models/__init__.py +0 -0
  27. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/models/incarnation_state.py +0 -0
  28. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/models/template_config.py +0 -0
  29. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/patching/__init__.py +0 -0
  30. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/rendering.py +0 -0
  31. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/engine/update.py +0 -0
  32. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/error_handlers.py +0 -0
  33. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/errors.py +0 -0
  34. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/external/__init__.py +0 -0
  35. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/external/git.py +0 -0
  36. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/hosters/__init__.py +0 -0
  37. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/hosters/gitlab.py +0 -0
  38. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/hosters/local.py +0 -0
  39. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/hosters/types.py +0 -0
  40. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/logger.py +0 -0
  41. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/middlewares.py +0 -0
  42. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/models/__init__.py +0 -0
  43. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/models/change.py +0 -0
  44. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/models/errors.py +0 -0
  45. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/models/incarnation.py +0 -0
  46. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/openapi.py +0 -0
  47. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/routers/__init__.py +0 -0
  48. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/routers/auth.py +0 -0
  49. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/routers/changes.py +0 -0
  50. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/routers/incarnations.py +0 -0
  51. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/routers/not_found.py +0 -0
  52. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/routers/version.py +0 -0
  53. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/services/__init__.py +0 -0
  54. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/services/change.py +0 -0
  55. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/services/incarnation.py +0 -0
  56. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/settings.py +0 -0
  57. {foxops-2.8.0 → foxops-2.9.0}/src/foxops/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: foxops
3
- Version: 2.8.0
3
+ Version: 2.9.0
4
4
  Summary: Foxops 🦊
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -26,7 +26,7 @@ Requires-Dist: pydantic-settings (==2.10.1)
26
26
  Requires-Dist: requests (==2.33.1)
27
27
  Requires-Dist: rich (>=14.1.0,<15.0.0)
28
28
  Requires-Dist: ruamel.yaml (>=0.17.20,<0.18.0)
29
- Requires-Dist: starlette (==0.49.3)
29
+ Requires-Dist: starlette (==1.3.1)
30
30
  Requires-Dist: structlog (==25.5.0)
31
31
  Requires-Dist: tenacity (>=9.0.0,<10.0.0)
32
32
  Requires-Dist: typer (==0.16.0)
@@ -1,7 +1,7 @@
1
1
  [tool.poetry]
2
2
  name = "foxops"
3
3
  # managed by poetry-dynamic-versioning, do not change.
4
- version = "2.8.0"
4
+ version = "2.9.0"
5
5
  description = "Foxops 🦊"
6
6
  license = "Apache-2.0"
7
7
  authors = [
@@ -19,7 +19,7 @@ python = ">=3.12,<3.15"
19
19
  # Web Framework
20
20
  uvicorn = "0.38.0"
21
21
  fastapi = ">=0.120.1"
22
- starlette = "0.49.3"
22
+ starlette = "1.3.1"
23
23
 
24
24
  # Auxiliary
25
25
  httpx = "^0.27.2"
@@ -52,9 +52,9 @@ flake8-bugbear = "^24.12.12"
52
52
  isort = "5.13.2"
53
53
 
54
54
  # Testing
55
- pytest = "8.4.1"
56
- pytest-asyncio = "1.1.0"
57
- pytest-mock = "3.14.1"
55
+ pytest = "8.4.2"
56
+ pytest-asyncio = "1.4.0"
57
+ pytest-mock = "3.15.1"
58
58
  pytest-randomly = "^3.12.0"
59
59
 
60
60
  # Typing
@@ -218,6 +218,7 @@ def parse_git_apply_rejection_output(output: bytes) -> PatchResult:
218
218
  The returned paths are relative to the repository root.
219
219
  """
220
220
  reject_file_regex = re.compile(rb"Applying patch (.*?) with (\d+) reject...")
221
+ unapplied_file_regex = re.compile(rb"error: (.*): patch does not apply")
221
222
  deleted_target_regex = re.compile(rb"error: (.*): No such file or directory")
222
223
 
223
224
  files_with_rejections = []
@@ -225,6 +226,8 @@ def parse_git_apply_rejection_output(output: bytes) -> PatchResult:
225
226
  for line in output.splitlines():
226
227
  if match := reject_file_regex.match(line):
227
228
  files_with_rejections.append(Path(match.group(1).decode()))
229
+ if match := unapplied_file_regex.match(line):
230
+ files_with_rejections.append(Path(match.group(1).decode()))
228
231
  if match := deleted_target_regex.match(line):
229
232
  deleted_target_files.append(Path(match.group(1).decode()))
230
233
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes