lingling 2.1.20.post35__tar.gz → 2.1.20.post36__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 (26) hide show
  1. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/PKG-INFO +1 -1
  2. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/__init__.py +1 -1
  3. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/update.py +7 -2
  4. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling.egg-info/PKG-INFO +1 -1
  5. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/pyproject.toml +1 -1
  6. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/LICENSE +0 -0
  7. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/README.md +0 -0
  8. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/__main__.py +0 -0
  9. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/bench.py +0 -0
  10. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/bounds.py +0 -0
  11. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/cli.py +0 -0
  12. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/demo.py +0 -0
  13. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/exits.py +0 -0
  14. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/health.py +0 -0
  15. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/lanes.py +0 -0
  16. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/mitm.py +0 -0
  17. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/netutil.py +0 -0
  18. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/proof.py +0 -0
  19. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/relay.py +0 -0
  20. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling/winjob.py +0 -0
  21. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling.egg-info/SOURCES.txt +0 -0
  22. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling.egg-info/dependency_links.txt +0 -0
  23. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling.egg-info/entry_points.txt +0 -0
  24. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling.egg-info/requires.txt +0 -0
  25. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/lingling.egg-info/top_level.txt +0 -0
  26. {lingling-2.1.20.post35 → lingling-2.1.20.post36}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lingling
3
- Version: 2.1.20.post35
3
+ Version: 2.1.20.post36
4
4
  Summary: Official OpenCode, but your requests ride rotating Tor exit lanes.
5
5
  Author: huranth
6
6
  License-Expression: LicenseRef-Lingling
@@ -4,7 +4,7 @@ import os
4
4
  import tempfile
5
5
  from pathlib import Path
6
6
 
7
- __version__ = "2.1.20.post35"
7
+ __version__ = "2.1.20.post36"
8
8
 
9
9
 
10
10
  def data_dir() -> Path:
@@ -448,9 +448,14 @@ def emit(check_obj: Optional[Check], stream=None, ask: bool = False) -> None:
448
448
 
449
449
 
450
450
  def cached_hint(data_dir, stream=None) -> None:
451
- """The ``--version`` line, from cache only. Never touches the net."""
451
+ """The ``--version`` line, from cache only. Never touches the net.
452
+
453
+ Nothing is scheduled here, so the line names the command rather than saying
454
+ an install is on its way: `--version` is a question, not a launch.
455
+ """
452
456
  stream = stream or sys.stderr
453
- for line in notice_lines(read_cache(data_dir), mode_name=mode()):
457
+ mode_name = "off" if mode() == "off" else "notify"
458
+ for line in notice_lines(read_cache(data_dir), mode_name=mode_name):
454
459
  _say(stream, line)
455
460
 
456
461
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lingling
3
- Version: 2.1.20.post35
3
+ Version: 2.1.20.post36
4
4
  Summary: Official OpenCode, but your requests ride rotating Tor exit lanes.
5
5
  Author: huranth
6
6
  License-Expression: LicenseRef-Lingling
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lingling"
7
- version = "2.1.20.post35"
7
+ version = "2.1.20.post36"
8
8
  description = "Official OpenCode, but your requests ride rotating Tor exit lanes."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"