Skip to content

Commit

Permalink
bump python version
Browse files Browse the repository at this point in the history
  • Loading branch information
gcseter committed Oct 8, 2024
1 parent fb7dc6b commit b200329
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
21 changes: 14 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
ELASTICMOCK_VERSION='3.0.0'
ELASTICMOCK_VERSION='4.0.0'
ACTIVATE_VENV = . .venv/bin/activate

install:
pip install -r requirements.txt
virtualenv:
rm -rf .venv
python3.9 -m venv .venv

test_install: install
pip install -r requirements_test.txt
pip:
${ACTIVATE_VENV} && pip install --upgrade pip

test: test_install
python3 setup.py test
reqs: pip
${ACTIVATE_VENV} && pip install .[dev] --extra-index-url "https://${PYPI_USERNAME}:${PYPI_PASSWORD}@pypi.dev.hearsaylabs.com/pypi/"

quickstart: virtualenv reqs

test:
@${ACTIVATE_VENV} && PIP_EXTRA_INDEX_URL="https://${PYPI_USERNAME}:${PYPI_PASSWORD}@pypi.dev.hearsaylabs.com/pypi/" tox

upload: create_dist
pip install twine
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import setuptools

__version__ = '3.0.0'
__version__ = '4.0.0'

# read the contents of your readme file
from os import path
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist =
py38-elasticsearch{1,2,5,6,7}
py39-elasticsearch{1,2,5,6,7}
py310-elasticsearch{1,2,5,6,7}
py311-elasticsearch{1,2,5,6,7}

[testenv]
deps =
Expand Down

0 comments on commit b200329

Please sign in to comment.