ghstack 0.12.0__tar.gz → 0.13.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 (34) hide show
  1. ghstack-0.13.0/LICENSE +19 -0
  2. {ghstack-0.12.0 → ghstack-0.13.0}/PKG-INFO +4 -3
  3. {ghstack-0.12.0 → ghstack-0.13.0}/pyproject.toml +5 -2
  4. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/cli.py +7 -0
  5. {ghstack-0.12.0 → ghstack-0.13.0}/README.md +0 -0
  6. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/__init__.py +0 -0
  7. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/__main__.py +0 -0
  8. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/action.py +0 -0
  9. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/cache.py +0 -0
  10. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/checkout.py +0 -0
  11. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/cherry_pick.py +0 -0
  12. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/circleci.py +0 -0
  13. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/circleci_real.py +0 -0
  14. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/config.py +0 -0
  15. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/diff.py +0 -0
  16. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/forensics.py +0 -0
  17. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/git.py +0 -0
  18. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/github.py +0 -0
  19. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/github_fake.py +0 -0
  20. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/github_real.py +0 -0
  21. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/github_schema.graphql +0 -0
  22. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/github_utils.py +0 -0
  23. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/gpg_sign.py +0 -0
  24. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/land.py +0 -0
  25. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/logs.py +0 -0
  26. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/py.typed +0 -0
  27. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/rage.py +0 -0
  28. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/shell.py +0 -0
  29. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/status.py +0 -0
  30. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/submit.py +0 -0
  31. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/test_prelude.py +0 -0
  32. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/trailers.py +0 -0
  33. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/types.py +0 -0
  34. {ghstack-0.12.0 → ghstack-0.13.0}/src/ghstack/unlink.py +0 -0
ghstack-0.13.0/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) Edward Z. Yang <ezyang@mit.edu>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -1,10 +1,11 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: ghstack
3
- Version: 0.12.0
3
+ Version: 0.13.0
4
4
  Summary: Stack diff support for GitHub
5
5
  Author: Edward Z. Yang
6
6
  Author-email: Edward Z. Yang <ezyang@mit.edu>
7
- License: MIT
7
+ License-Expression: MIT
8
+ License-File: LICENSE
8
9
  Classifier: Programming Language :: Python :: 3
9
10
  Classifier: License :: OSI Approved :: MIT License
10
11
  Classifier: Operating System :: OS Independent
@@ -2,7 +2,10 @@
2
2
  authors = [
3
3
  {name = "Edward Z. Yang", email = "ezyang@mit.edu"},
4
4
  ]
5
- license = {text = "MIT"}
5
+ license = "MIT"
6
+ license-files = [
7
+ "LICENSE",
8
+ ]
6
9
  requires-python = "<4.0.0,>=3.9.1"
7
10
  dependencies = [
8
11
  "aiohttp<4,>=3",
@@ -13,7 +16,7 @@ dependencies = [
13
16
  "flake8<8.0.0,>=7.0.0",
14
17
  ]
15
18
  name = "ghstack"
16
- version = "0.12.0"
19
+ version = "0.13.0"
17
20
  description = "Stack diff support for GitHub"
18
21
  readme = "README.md"
19
22
  classifiers = [
@@ -1,5 +1,6 @@
1
1
  import asyncio
2
2
  import contextlib
3
+ import sys
3
4
  from typing import Generator, List, Optional, Tuple
4
5
 
5
6
  import click
@@ -79,6 +80,12 @@ def main(
79
80
  """
80
81
  Submit stacks of diffs to Github
81
82
  """
83
+ if sys.version_info >= (3, 14):
84
+ # Create new event loop as asyncio.get_event_loop() throws runtime error in 3.14
85
+ import asyncio as _asyncio
86
+
87
+ _asyncio.set_event_loop(_asyncio.new_event_loop())
88
+
82
89
  EXIT_STACK.enter_context(ghstack.logs.manager(debug=debug))
83
90
 
84
91
  if not ctx.invoked_subcommand:
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes