bdsc-cli 0.2.2__tar.gz → 0.2.3__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: bdsc-cli
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Sync and query BDSC datasets locally
5
5
  Author: Gustavo Madeira Santana
6
6
  License-Expression: MIT
@@ -21,6 +21,9 @@ Dynamic: license-file
21
21
 
22
22
  # bdsc-cli
23
23
 
24
+ > This package has been renamed. Install `bdsc` now:
25
+ > `pipx install bdsc`
26
+
24
27
  Small CLI for syncing public Bloomington Drosophila Stock Center datasets and
25
28
  querying them locally.
26
29
 
@@ -91,11 +94,6 @@ Build release artifacts locally:
91
94
  python -m pip install -e .[release]
92
95
  python -m build
93
96
  python -m twine check dist/*
94
- python scripts/render_homebrew_formula.py dist/bdsc_cli-$(python - <<'PY'
95
- from bdsc_cli import __version__
96
- print(__version__)
97
- PY
98
- ).tar.gz
99
97
  ```
100
98
 
101
99
  ## Quickstart
@@ -351,9 +349,7 @@ bdsc terms property-descriptions --query optogenetic --jsonl
351
349
  - use `property-exact` or `driver-family` when `property` is too broad for a
352
350
  reliable LexA/QF/GAL4-style answer.
353
351
  - tag pushes like `vX.Y.Z` run the release workflow: build artifacts, create a
354
- GitHub release, and publish to PyPI.
355
- - `scripts/render_homebrew_formula.py` renders a Homebrew formula from a built
356
- sdist; use it when updating a tap after a release.
352
+ GitHub release, publish to PyPI, and update `gumadeiras/homebrew-tap`.
357
353
  - The live endpoint is undocumented and may change without notice.
358
354
  - BDSC data is large enough that the first full sync/index can take a few
359
355
  minutes depending on network and disk speed.
@@ -1,5 +1,8 @@
1
1
  # bdsc-cli
2
2
 
3
+ > This package has been renamed. Install `bdsc` now:
4
+ > `pipx install bdsc`
5
+
3
6
  Small CLI for syncing public Bloomington Drosophila Stock Center datasets and
4
7
  querying them locally.
5
8
 
@@ -70,11 +73,6 @@ Build release artifacts locally:
70
73
  python -m pip install -e .[release]
71
74
  python -m build
72
75
  python -m twine check dist/*
73
- python scripts/render_homebrew_formula.py dist/bdsc_cli-$(python - <<'PY'
74
- from bdsc_cli import __version__
75
- print(__version__)
76
- PY
77
- ).tar.gz
78
76
  ```
79
77
 
80
78
  ## Quickstart
@@ -330,9 +328,7 @@ bdsc terms property-descriptions --query optogenetic --jsonl
330
328
  - use `property-exact` or `driver-family` when `property` is too broad for a
331
329
  reliable LexA/QF/GAL4-style answer.
332
330
  - tag pushes like `vX.Y.Z` run the release workflow: build artifacts, create a
333
- GitHub release, and publish to PyPI.
334
- - `scripts/render_homebrew_formula.py` renders a Homebrew formula from a built
335
- sdist; use it when updating a tap after a release.
331
+ GitHub release, publish to PyPI, and update `gumadeiras/homebrew-tap`.
336
332
  - The live endpoint is undocumented and may change without notice.
337
333
  - BDSC data is large enough that the first full sync/index can take a few
338
334
  minutes depending on network and disk speed.
@@ -1,3 +1,3 @@
1
1
  __all__ = ["__version__"]
2
2
 
3
- __version__ = "0.2.2"
3
+ __version__ = "0.2.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bdsc-cli
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Sync and query BDSC datasets locally
5
5
  Author: Gustavo Madeira Santana
6
6
  License-Expression: MIT
@@ -21,6 +21,9 @@ Dynamic: license-file
21
21
 
22
22
  # bdsc-cli
23
23
 
24
+ > This package has been renamed. Install `bdsc` now:
25
+ > `pipx install bdsc`
26
+
24
27
  Small CLI for syncing public Bloomington Drosophila Stock Center datasets and
25
28
  querying them locally.
26
29
 
@@ -91,11 +94,6 @@ Build release artifacts locally:
91
94
  python -m pip install -e .[release]
92
95
  python -m build
93
96
  python -m twine check dist/*
94
- python scripts/render_homebrew_formula.py dist/bdsc_cli-$(python - <<'PY'
95
- from bdsc_cli import __version__
96
- print(__version__)
97
- PY
98
- ).tar.gz
99
97
  ```
100
98
 
101
99
  ## Quickstart
@@ -351,9 +349,7 @@ bdsc terms property-descriptions --query optogenetic --jsonl
351
349
  - use `property-exact` or `driver-family` when `property` is too broad for a
352
350
  reliable LexA/QF/GAL4-style answer.
353
351
  - tag pushes like `vX.Y.Z` run the release workflow: build artifacts, create a
354
- GitHub release, and publish to PyPI.
355
- - `scripts/render_homebrew_formula.py` renders a Homebrew formula from a built
356
- sdist; use it when updating a tap after a release.
352
+ GitHub release, publish to PyPI, and update `gumadeiras/homebrew-tap`.
357
353
  - The live endpoint is undocumented and may change without notice.
358
354
  - BDSC data is large enough that the first full sync/index can take a few
359
355
  minutes depending on network and disk speed.
@@ -10,5 +10,4 @@ src/bdsc_cli.egg-info/dependency_links.txt
10
10
  src/bdsc_cli.egg-info/entry_points.txt
11
11
  src/bdsc_cli.egg-info/requires.txt
12
12
  src/bdsc_cli.egg-info/top_level.txt
13
- tests/test_core.py
14
- tests/test_release_tools.py
13
+ tests/test_core.py
@@ -1,35 +0,0 @@
1
- from __future__ import annotations
2
-
3
- import hashlib
4
- import importlib.util
5
- import tempfile
6
- import unittest
7
- from pathlib import Path
8
-
9
-
10
- SPEC = importlib.util.spec_from_file_location(
11
- "render_homebrew_formula",
12
- Path(__file__).resolve().parents[1] / "scripts" / "render_homebrew_formula.py",
13
- )
14
- assert SPEC is not None and SPEC.loader is not None
15
- MODULE = importlib.util.module_from_spec(SPEC)
16
- SPEC.loader.exec_module(MODULE)
17
-
18
-
19
- class ReleaseToolTests(unittest.TestCase):
20
- def test_render_formula_uses_sdist_version_and_sha(self) -> None:
21
- with tempfile.TemporaryDirectory() as temp_dir:
22
- sdist = Path(temp_dir) / "bdsc_cli-1.2.3.tar.gz"
23
- sdist.write_bytes(b"bdsc-cli-test")
24
- formula = MODULE.render_formula(sdist)
25
-
26
- self.assertIn('url "https://github.com/gumadeiras/bdsc-cli/releases/download/v1.2.3/bdsc_cli-1.2.3.tar.gz"', formula)
27
- self.assertIn(hashlib.sha256(b"bdsc-cli-test").hexdigest(), formula)
28
-
29
- def test_version_from_sdist_rejects_unexpected_name(self) -> None:
30
- with self.assertRaises(ValueError):
31
- MODULE.version_from_sdist(Path("not-bdsc.tar.gz"))
32
-
33
-
34
- if __name__ == "__main__":
35
- unittest.main()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes