Skip to content

Commit

Permalink
up version
Browse files Browse the repository at this point in the history
  • Loading branch information
un33k committed Mar 5, 2023
1 parent fe533e1 commit 96d58cb
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 24 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,38 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy3]
django-version: [2.2, 3.0, 3.1, 3.2, 4.0]
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.9]
django-version: [3.2, 4.0, 4.1]
exclude:
# excludes list
- python-version: 3.6
django-version: 4.0
- python-version: 3.7
django-version: 4.0
- python-version: pypy3
- python-version: 3.7
django-version: 4.1
- python-version: 3.11
django-version: 3.2
- python-version: 3.11
django-version: 4.0

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install coveralls --upgrade
pip install --upgrade coveralls
pip install "django~=${{ matrix.django-version }}.0"
- name: Run flake8
run: |
pip install flake8 --upgrade
pip install --upgrade flake8
flake8 --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run pycodestyle
run: |
pip install pycodestyle --upgrade
pip install --upgrade pycodestyle
pycodestyle --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run test
run: |
Expand Down
23 changes: 13 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,38 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy3]
django-version: [2.2, 3.0, 3.1, 3.2, 4.0]
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.9]
django-version: [3.2, 4.0, 4.1]
exclude:
# excludes list
- python-version: 3.6
django-version: 4.0
- python-version: 3.7
django-version: 4.0
- python-version: pypy3
- python-version: 3.7
django-version: 4.1
- python-version: 3.11
django-version: 3.2
- python-version: 3.11
django-version: 4.0

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install coveralls --upgrade
pip install --upgrade coveralls
pip install "django~=${{ matrix.django-version }}.0"
- name: Run flake8
run: |
pip install flake8 --upgrade
pip install --upgrade flake8
flake8 --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run pycodestyle
run: |
pip install pycodestyle --upgrade
pip install --upgrade pycodestyle
pycodestyle --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run test
run: |
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ docs/_build/

# PyBuilder
target/

.DS_Store
7 changes: 4 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"python.linting.enabled": false,
"cSpell.words": [
"Neekman",
"Neekware",
"Pware",
"cmdclass",
"getattr",
"ipware",
"multicast",
"Neekman",
"Neekware",
"noqa",
"Pware",
"pycodestyle",
"pyflakes",
"pypy",
"routable",
"setuptools",
"stackoverflow",
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 5.0.0

Enhancement:

- Added support for Python 3.11 (@ccluass - thx)
- Drop support for Python 3.6, Django 2.2

# 4.0.2

Enhancement:
Expand Down
2 changes: 1 addition & 1 deletion ipware/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
__url__ = 'https://github.com/un33k/django-ipware'
__license__ = 'MIT'
__copyright__ = 'Copyright 2020 Val Neekman @ Neekware Inc.'
__version__ = '4.0.2'
__version__ = '5.0.0'

0 comments on commit 96d58cb

Please sign in to comment.