bugpipe 3.0.1__tar.gz → 3.0.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bugpipe
3
- Version: 3.0.1
3
+ Version: 3.0.2
4
4
  Summary: Unofficial Python client for Buganizer; the Google Issue Tracking system
5
5
  Keywords: buganizer,google-issue-tracker,issue-tracker,bug-tracker,bug-bounty,vulnerability,security,chromium,cve,vrp,google
6
6
  Author: Ritchie Mwewa
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bugpipe"
3
- version = "3.0.1"
3
+ version = "3.0.2"
4
4
  description = "Unofficial Python client for Buganizer; the Google Issue Tracking system"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -93,7 +93,7 @@ def standard_release(version: str) -> bool:
93
93
 
94
94
 
95
95
  def check(
96
- package_name: str = "buganize",
96
+ package_name: str = __pkg__,
97
97
  package_version: str = __version__,
98
98
  status: Status | None = None,
99
99
  ):
@@ -162,34 +162,6 @@ def parse_version(string: str) -> tuple[str, ...]:
162
162
  """
163
163
  Convert a version string to a chronologically-sortable key.
164
164
 
165
- This is a rough cross between distutils' StrictVersion and LooseVersion;
166
- if you give it versions that would work with StrictVersion, then it behaves
167
- the same; otherwise it acts like a slightly-smarter LooseVersion. It is
168
- *possible* to create pathological version coding schemes that will fool
169
- this parser, but they should be very rare in practice.
170
-
171
- The returned value will be a tuple of strings. Numeric portions of the
172
- version are padded to 8 digits so they will compare numerically, but
173
- without relying on how numbers compare relative to strings. Dots are
174
- dropped, but dashes are retained. Trailing zeros between alpha segments
175
- or dashes are suppressed, so that e.g. "2.4.0" is considered the same as
176
- "2.4". Alphanumeric parts are lower-cased.
177
-
178
- The algorithm assumes that strings like "-" and any alpha string that
179
- alphabetically follows "final" represents a "patch level". So, "2.4-1"
180
- is assumed to be a branch or patch of "2.4", and therefore "2.4.1" is
181
- considered newer than "2.4-1", which in turn is newer than "2.4".
182
-
183
- Strings like "a", "b", "c", "alpha", "beta", "candidate" and so on (that
184
- come before "final" alphabetically) are assumed to be pre-release versions,
185
- so that the version "2.4" is considered newer than "2.4a1".
186
-
187
- Finally, to handle miscellaneous cases, the strings "pre", "preview", and
188
- "rc" are treated as if they were "c", i.e. as though they were release
189
- candidates, and therefore are not as new as a version string that does not
190
- contain them, and "dev" is replaced with an '@' so that it sorts lower than
191
- any other pre-release tag.
192
-
193
165
  :param string: The version string to parse.
194
166
  :return: A tuple of strings suitable for comparison.
195
167
  """
File without changes
File without changes
File without changes
File without changes