From 6367b99dadba57f9f5e5c8b59746772a624d7ca8 Mon Sep 17 00:00:00 2001 From: Yatharth Mathur Date: Sat, 3 Aug 2024 18:43:34 +0530 Subject: [PATCH 1/3] chore: bump neomodel version to commit --- pyproject.toml | 2 +- requirements.txt | 2 +- tests/docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 284a211..9c0c59d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ classifiers = [ "Topic :: Database", ] dependencies = [ - "neomodel~=5.3.0", + "git+https://github.com/myplace/neomodel/commit/da18b6047d7d332a5d2bbf90b74dbdd0d911f73b", 'django>=4.2.8' ] version='0.2.0' diff --git a/requirements.txt b/requirements.txt index c6697d7..1575a6b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -neomodel~=5.3.0 +git+https://github.com/myplace/neomodel/commit/da18b6047d7d332a5d2bbf90b74dbdd0d911f73b django~=4.2.8 \ No newline at end of file diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index d9ff45b..dc0d7af 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -27,7 +27,7 @@ services: neo4j: - image: neo4j:5.4-enterprise + image: neo4j:5.22.0 ports: - "7474:7474" - "7687:7687" From 5b322af1b5b1f2bd53d2053d349a77f7e154eca2 Mon Sep 17 00:00:00 2001 From: Yatharth Mathur Date: Sat, 3 Aug 2024 19:03:58 +0530 Subject: [PATCH 2/3] fix: versioning and setup --- django_neomodel/__init__.py | 2 +- pyproject.toml | 4 ++-- requirements.txt | 2 +- setup.py | 13 +++++++++++++ 4 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 setup.py diff --git a/django_neomodel/__init__.py b/django_neomodel/__init__.py index 81b3252..2995049 100644 --- a/django_neomodel/__init__.py +++ b/django_neomodel/__init__.py @@ -16,7 +16,7 @@ __email__ = "robin.ge@gmail.com" __license__ = "MIT" __package__ = "django_neomodel" -__version__ = "0.2.0" +__version__ = "0.3.0" default_app_config = "django_neomodel.apps.NeomodelConfig" diff --git a/pyproject.toml b/pyproject.toml index 9c0c59d..f7d3a0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,10 +27,10 @@ classifiers = [ "Topic :: Database", ] dependencies = [ - "git+https://github.com/myplace/neomodel/commit/da18b6047d7d332a5d2bbf90b74dbdd0d911f73b", + "neomodel==5.4.0", 'django>=4.2.8' ] -version='0.2.0' +version='0.3.0' [project.urls] repository = "http://github.com/robinedwards/django-neomodel" diff --git a/requirements.txt b/requirements.txt index 1575a6b..5852d39 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -git+https://github.com/myplace/neomodel/commit/da18b6047d7d332a5d2bbf90b74dbdd0d911f73b +https://github.com/myplace/neomodel/commit/b3c1935f212972f5bd14d9a387cd79fab9a12109 django~=4.2.8 \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0f01240 --- /dev/null +++ b/setup.py @@ -0,0 +1,13 @@ +from setuptools import setup + +setup( + name="django-neomodel", + version="5.4.0", + description="Custom Django Neomodel to support 5.22.0", + url="https://github.com/myplace/neomodel/commit/da18b6047d7d332a5d2bbf90b74dbdd0d911f73b", + author="MyPlace", + author_email="", + license="BSD 2-clause", + packages=["django_neomodel"], + install_requires=["neomodel==5.4.0", "django~=4.2.8"], +) From fd33a3e61223f4a3854033270fa8781a7ecbb387 Mon Sep 17 00:00:00 2001 From: Yatharth Mathur Date: Sat, 3 Aug 2024 19:08:59 +0530 Subject: [PATCH 3/3] fix: setup.py --- requirements.txt | 3 +-- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 5852d39..77b8ed4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ -https://github.com/myplace/neomodel/commit/b3c1935f212972f5bd14d9a387cd79fab9a12109 -django~=4.2.8 \ No newline at end of file +django~=4.2.8 diff --git a/setup.py b/setup.py index 0f01240..26a3905 100644 --- a/setup.py +++ b/setup.py @@ -2,9 +2,9 @@ setup( name="django-neomodel", - version="5.4.0", + version="0.3.0", description="Custom Django Neomodel to support 5.22.0", - url="https://github.com/myplace/neomodel/commit/da18b6047d7d332a5d2bbf90b74dbdd0d911f73b", + url="https://github.com/myplace/django-neomodel", author="MyPlace", author_email="", license="BSD 2-clause",