Skip to content

Commit

Permalink
Preparing v0.1.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardBruskiewich committed Sep 12, 2024
1 parent c02d730 commit 98707d1
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 28 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.1.2

- Removed 'provided_by' and 'members' properties from TRAPI response message Knowledge Graph nodes

## 0.1.1

- use NodeNormalizer to add name and category to SemSimian Server similarity match nodes
Expand Down
8 changes: 4 additions & 4 deletions DEVELOPER_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ Steps to properly issue a new project release:

1. Run the unit test suite to ensure that nothing fails. Iterate to fix failures (in the code or in terms of revised unit tests to reflect fresh code designs)
2. Document release changes in the **CHANGELOG.md**
3. Update the **`[Tool Poetry]version =`** field in the **pyprojects.yaml**, e.g. "0.1.1"
3. Update the **`[Tool Poetry]version =`** field in the **pyprojects.yaml**, e.g. "0.1.2"
4. Run **`poetry update`** (preferably, within a **`poetry shell`**)
5. The project pip **requirements.txt** file snapshot of dependencies should also be updated at this point (type **`$ poetry export --output requirements.txt`**, assuming that the [proper poetry export plugin is installed](https://python-poetry.org/docs/pre-commit-hooks#poetry-export)). This may facilitate module deployment within environments that prefer to use pip rather than poetry to manage their deployments.
6. Commit or pull request merge all files (including the **poetry.lock** file) to the local **main** branch.
7. Add the equivalent Git **tag** to **main**. This should be the Semantic Version string from step 4 with an added 'v' prefix, e.g. "v0.1.1".
7. Add the equivalent Git **tag** to **main**. This should be the Semantic Version string from step 4 with an added 'v' prefix, e.g. "v0.1.2".
8. Push **main** to remote.
9. Check if Git Actions for testing and documentation complete successfully.
10. Create a Git package release using the same release tag, e.g. "v0.1.1".
11. Check if Git Actions for package deployment is successful and check if the new version (e.g. "v0.1.1") is now visible on **[pypy.org](https://pypi.org/search/?q=OneHopTests)**
10. Create a Git package release using the same release tag, e.g. "v0.1.2".
11. Check if Git Actions for package deployment is successful and check if the new version (e.g. "v0.1.2") is now visible on **[pypy.org](https://pypi.org/search/?q=OneHopTests)**
24 changes: 12 additions & 12 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "monarch-trapi-kp"
version = "0.1.1"
version = "0.1.2"
description = "Translator (Knowledge Provider) Reasoner API wrapper for the Semantic Similarity algorithm against the knowledge graph of the Monarch Initiative information system"
authors = [
"Richard Bruskiewich <richard.bruskiewich@delphinai.com>",
Expand Down
18 changes: 9 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,9 @@ parso==0.8.4 ; python_version >= "3.9" and python_version < "3.12" \
pexpect==4.9.0 ; python_version >= "3.9" and python_version < "3.12" and sys_platform != "win32" \
--hash=sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523 \
--hash=sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f
platformdirs==4.2.2 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:2d7a1657e36a80ea911db832a8a6ece5ee53d8de21edd5cc5879af6530b1bfee \
--hash=sha256:38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3
platformdirs==4.3.2 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:9e5e27a08aa095dd127b9f2e764d74254f482fef22b0970773bfba79d091ab8c \
--hash=sha256:eb1c8582560b34ed4ba105009a4badf7f6f85768b30126f351328507b2beb617
pluggy==1.5.0 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1 \
--hash=sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669
Expand Down Expand Up @@ -801,9 +801,9 @@ pytest-httpx==0.30.0 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:755b8edca87c974dd4f3605c374fda11db84631de3d163b99c0df5807023a19a
pytest-logging==2015.11.4 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:cec5c85ecf18aab7b2ead5498a31b9f758680ef5a902b9054ab3f2bdbb77c896
pytest==8.3.2 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5 \
--hash=sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce
pytest==8.3.3 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181 \
--hash=sha256:a6853c7375b2663155079443d2e45de913a911a11d669df02a50814944db57b2
python-dateutil==2.9.0.post0 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \
--hash=sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427
Expand Down Expand Up @@ -1184,9 +1184,9 @@ typing-extensions==4.12.2 ; python_version >= "3.9" and python_version < "3.12"
uri-template==1.3.0 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:0e00f8eb65e18c7de20d595a14336e9f337ead580c70934141624b6d1ffdacc7 \
--hash=sha256:a44a133ea12d44a0c0f06d7d42a52d71282e77e2f937d8abd5655b8d56fc1363
urllib3==2.2.2 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:a448b2f64d686155468037e1ace9f2d2199776e17f0a46610480d311f73e3472 \
--hash=sha256:dd505485549a7a552833da5e6063639d0d177c04f23bc3864e41e5dc5f612168
urllib3==2.2.3 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac \
--hash=sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9
uvicorn==0.25.0 ; python_version >= "3.9" and python_version < "3.12" \
--hash=sha256:6dddbad1d7ee0f5140aba5ec138ddc9612c5109399903828b4874c9937f009c2 \
--hash=sha256:ce107f5d9bd02b4636001a77a4e74aab5e1e2b146868ebbad565237145af444c
Expand Down
4 changes: 2 additions & 2 deletions tests/test_monarch_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_missing_end_tag_path():
TEST_MCQ_DUPLICATING_SET_INTERPRETATION: Dict = get_example("mmcq-trapi-query_with_duplicated_set_interpretation")


@pytest.mark.skip(reason="Test failing due to Monarch SemSimian server issue... being investigated")
# @pytest.mark.skip(reason="Test failing due to Monarch SemSimian server issue... being investigated")
@pytest.mark.asyncio
async def test_semsim_search():
monarch_interface: MonarchInterface = get_monarch_interface()
Expand Down Expand Up @@ -128,7 +128,7 @@ async def test_semsim_search():
)


@pytest.mark.skip(reason="Test failing due to Monarch SemSimian server issue... being investigated")
# @pytest.mark.skip(reason="Test failing due to Monarch SemSimian server issue... being investigated")
@pytest.mark.asyncio
async def test_run_query():
monarch_interface: MonarchInterface = get_monarch_interface()
Expand Down

0 comments on commit 98707d1

Please sign in to comment.