From 15cac50cd78090022fb7e89ed792c8c954ef8c10 Mon Sep 17 00:00:00 2001 From: John Giorgi Date: Thu, 24 Feb 2022 09:56:27 -0500 Subject: [PATCH 1/3] :wrench: Make repo installable from git --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 18cf663..76e9a6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,5 +75,5 @@ exclude = ''' ''' [build-system] -requires = ["poetry-core>=1.1.13"] -build-backend = "poetry.core.masonry.api" +requires = ["poetry"] +build-backend = "poetry.masonry.api" From 1c51a311b49bfc7c11135c916ed063601c6b634e Mon Sep 17 00:00:00 2001 From: John Giorgi Date: Thu, 24 Feb 2022 09:57:31 -0500 Subject: [PATCH 2/3] :arrow_up: Upgrade dependencies --- poetry.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/poetry.lock b/poetry.lock index c9ee49d..966a0d1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -76,7 +76,7 @@ unicode_backport = ["unicodedata2"] [[package]] name = "click" -version = "8.0.3" +version = "8.0.4" description = "Composable command line interface toolkit" category = "main" optional = false @@ -133,7 +133,7 @@ pyflakes = ">=2.3.0,<2.4.0" [[package]] name = "hypothesis" -version = "6.36.2" +version = "6.37.2" description = "A library for property-based testing" category = "dev" optional = false @@ -282,7 +282,7 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" [[package]] name = "platformdirs" -version = "2.5.0" +version = "2.5.1" description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." category = "dev" optional = false @@ -618,8 +618,8 @@ charset-normalizer = [ {file = "charset_normalizer-2.0.12-py3-none-any.whl", hash = "sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df"}, ] click = [ - {file = "click-8.0.3-py3-none-any.whl", hash = "sha256:353f466495adaeb40b6b5f592f9f91cb22372351c84caeb068132442a4518ef3"}, - {file = "click-8.0.3.tar.gz", hash = "sha256:410e932b050f5eed773c4cda94de75971c89cdb3155a72a0831139a79e5ecb5b"}, + {file = "click-8.0.4-py3-none-any.whl", hash = "sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1"}, + {file = "click-8.0.4.tar.gz", hash = "sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb"}, ] codecov = [ {file = "codecov-2.1.12-py2.py3-none-any.whl", hash = "sha256:585dc217dc3d8185198ceb402f85d5cb5dbfa0c5f350a5abcdf9e347776a5b47"}, @@ -689,8 +689,8 @@ flake8 = [ {file = "flake8-3.9.2.tar.gz", hash = "sha256:07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b"}, ] hypothesis = [ - {file = "hypothesis-6.36.2-py3-none-any.whl", hash = "sha256:7789664e0b487f6553492500738d6ed29ee1af143857d605b296d112154a4057"}, - {file = "hypothesis-6.36.2.tar.gz", hash = "sha256:7202ea05759f591adf6c1887edbd4d53c049821284f630c5ec8ec3f3f57fd46b"}, + {file = "hypothesis-6.37.2-py3-none-any.whl", hash = "sha256:1c1777ccd3074fcca768d7594a284a41501c99843089d37e3235d38319e3f217"}, + {file = "hypothesis-6.37.2.tar.gz", hash = "sha256:79321035b9174ffa506d724ca5e8af375d7bf532c80e4f602bd433792c527e6c"}, ] idna = [ {file = "idna-3.3-py3-none-any.whl", hash = "sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff"}, @@ -806,8 +806,8 @@ pathspec = [ {file = "pathspec-0.9.0.tar.gz", hash = "sha256:e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1"}, ] platformdirs = [ - {file = "platformdirs-2.5.0-py3-none-any.whl", hash = "sha256:30671902352e97b1eafd74ade8e4a694782bd3471685e78c32d0fdfd3aa7e7bb"}, - {file = "platformdirs-2.5.0.tar.gz", hash = "sha256:8ec11dfba28ecc0715eb5fb0147a87b1bf325f349f3da9aab2cd6b50b96b692b"}, + {file = "platformdirs-2.5.1-py3-none-any.whl", hash = "sha256:bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227"}, + {file = "platformdirs-2.5.1.tar.gz", hash = "sha256:7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d"}, ] pluggy = [ {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"}, From 954dd420fa4accc243cc24d824ada177516f13d2 Mon Sep 17 00:00:00 2001 From: John Giorgi Date: Thu, 24 Feb 2022 10:00:05 -0500 Subject: [PATCH 3/3] :books: Update installation instructions --- README.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4a5119b..e245613 100644 --- a/README.md +++ b/README.md @@ -12,22 +12,14 @@ This is a sister repository to [`seq2rel`](https://github.com/JohnGiorgi/seq2rel This repository requires Python 3.8 or later. The preferred way to install is via pip: ``` -pip install seq2rel-ds +pip install git+https://github.com/JohnGiorgi/seq2rel-ds.git ``` If you need pointers on setting up an appropriate Python environment, please see the [AllenNLP install instructions](https://github.com/allenai/allennlp#installing-via-pip). ### Installing from source -You can also install from source. - -Using `pip`: - -``` -pip install git+https://github.com/JohnGiorgi/seq2rel-ds -``` - -Using [Poetry](https://python-poetry.org/): +You can also install from source using [Poetry](https://python-poetry.org/): ```bash # Install poetry for your system: https://python-poetry.org/docs/#installation