Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-ipware for
openSUSE:Factory checked in at 2023-05-08 17:24:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-ipware (Old)
and /work/SRC/openSUSE:Factory/.python-django-ipware.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-ipware"
Mon May 8 17:24:09 2023 rev:4 rq:1085331 version:5.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-ipware/python-django-ipware.changes
2022-01-07 12:47:55.263909612 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-ipware.new.1533/python-django-ipware.changes
2023-05-08 17:24:11.596663064 +0200
@@ -1,0 +2,7 @@
+Sun May 7 18:43:31 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 5.0.0:
+ * Added support for Python 3.11
+ * Drop support for Python 3.6, Django 2.2
+
+-------------------------------------------------------------------
Old:
----
django-ipware-4.0.2.tar.gz
New:
----
django-ipware-5.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-ipware.spec ++++++
--- /var/tmp/diff_new_pack.SQCrHh/_old 2023-05-08 17:24:12.588668928 +0200
+++ /var/tmp/diff_new_pack.SQCrHh/_new 2023-05-08 17:24:12.592668952 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-ipware
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%define skip_python2 1
%define skip_python36 1
Name: python-django-ipware
-Version: 4.0.2
+Version: 5.0.0
Release: 0
Summary: Django utility application that returns client's real IP
address
License: MIT
++++++ django-ipware-4.0.2.tar.gz -> django-ipware-5.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-ipware-4.0.2/.github/workflows/ci.yml
new/django-ipware-5.0.0/.github/workflows/ci.yml
--- old/django-ipware-4.0.2/.github/workflows/ci.yml 2021-12-16
18:03:54.000000000 +0100
+++ new/django-ipware-5.0.0/.github/workflows/ci.yml 2023-03-05
15:20:24.000000000 +0100
@@ -1,9 +1,15 @@
+# https://devguide.python.org/versions
+# https://www.djangoproject.com/download/#supported-versions
name: (CI)
on:
push:
branches:
- ci
+ pull_request:
+ branches:
+ - ci
+ - master
jobs:
build:
@@ -11,36 +17,38 @@
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
+ pip install --upgrade coveralls
pip install "django~=${{ matrix.django-version }}.0"
- name: Run flake8
run: |
- pip install flake8
+ pip install --upgrade flake8
flake8 --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run pycodestyle
run: |
- pip install pycodestyle
+ pip install --upgrade pycodestyle
pycodestyle --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run test
run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-ipware-4.0.2/.github/workflows/dev.yml
new/django-ipware-5.0.0/.github/workflows/dev.yml
--- old/django-ipware-4.0.2/.github/workflows/dev.yml 2021-12-16
18:03:54.000000000 +0100
+++ new/django-ipware-5.0.0/.github/workflows/dev.yml 2023-03-05
15:20:24.000000000 +0100
@@ -14,36 +14,38 @@
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
+ pip install --upgrade coveralls
pip install "django~=${{ matrix.django-version }}.0"
- name: Run flake8
run: |
- pip install flake8
+ pip install --upgrade flake8
flake8 --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run pycodestyle
run: |
- pip install pycodestyle
+ pip install --upgrade pycodestyle
pycodestyle --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run test
run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-ipware-4.0.2/.github/workflows/main.yml
new/django-ipware-5.0.0/.github/workflows/main.yml
--- old/django-ipware-4.0.2/.github/workflows/main.yml 2021-12-16
18:03:54.000000000 +0100
+++ new/django-ipware-5.0.0/.github/workflows/main.yml 2023-03-05
15:20:24.000000000 +0100
@@ -13,35 +13,38 @@
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
+ pip install --upgrade coveralls
pip install "django~=${{ matrix.django-version }}.0"
- name: Run flake8
run: |
- pip install flake8
+ pip install --upgrade flake8
flake8 --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run pycodestyle
run: |
- pip install pycodestyle
+ pip install --upgrade pycodestyle
pycodestyle --exclude=migrations,tests --ignore=E501,E241,E225,E128 .
- name: Run test
run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-ipware-4.0.2/.gitignore
new/django-ipware-5.0.0/.gitignore
--- old/django-ipware-4.0.2/.gitignore 2021-12-16 18:03:54.000000000 +0100
+++ new/django-ipware-5.0.0/.gitignore 2023-03-05 15:20:24.000000000 +0100
@@ -55,3 +55,5 @@
# PyBuilder
target/
+
+.DS_Store
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-ipware-4.0.2/.vscode/settings.json
new/django-ipware-5.0.0/.vscode/settings.json
--- old/django-ipware-4.0.2/.vscode/settings.json 2021-12-16
18:03:54.000000000 +0100
+++ new/django-ipware-5.0.0/.vscode/settings.json 2023-03-05
15:20:24.000000000 +0100
@@ -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",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-ipware-4.0.2/CHANGELOG.md
new/django-ipware-5.0.0/CHANGELOG.md
--- old/django-ipware-4.0.2/CHANGELOG.md 2021-12-16 18:03:54.000000000
+0100
+++ new/django-ipware-5.0.0/CHANGELOG.md 2023-03-05 15:20:24.000000000
+0100
@@ -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:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-ipware-4.0.2/README.md
new/django-ipware-5.0.0/README.md
--- old/django-ipware-4.0.2/README.md 2021-12-16 18:03:54.000000000 +0100
+++ new/django-ipware-5.0.0/README.md 2023-03-05 15:20:24.000000000 +0100
@@ -1,4 +1,4 @@
-# Django IPware
+# Django IPware (Read [Notice](README.md#Notice))
**A Django application to retrieve client's IP address**
@@ -12,11 +12,15 @@
# Notice
-There is not a good `out-of-the-box` solution against fake IP addresses, aka
`IP Address Spoofing`.
+There is no perfect `out-of-the-box` solution against fake IP addresses, aka
`IP Address Spoofing`.
You are encouraged to read the ([Advanced users](README.md#advanced-users))
section of this page and
use `trusted_proxies_ips` and/or `proxy_count` features to match your needs,
especially `if` you are
planning to include `ipware` in any authentication, security or `anti-fraud`
related architecture.
+This is an open source project, with the source code visible to all.
Therefore, it may be exploited through unimplemented, or improperly implemented
features.
+
+Please use ipware `ONLY` as a complement to your `firewall` security measures!
+
# How to install
1. easy_install django-ipware
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-ipware-4.0.2/ipware/__version__.py
new/django-ipware-5.0.0/ipware/__version__.py
--- old/django-ipware-4.0.2/ipware/__version__.py 2021-12-16
18:03:54.000000000 +0100
+++ new/django-ipware-5.0.0/ipware/__version__.py 2023-03-05
15:20:24.000000000 +0100
@@ -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'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-ipware-4.0.2/setup.py
new/django-ipware-5.0.0/setup.py
--- old/django-ipware-4.0.2/setup.py 2021-12-16 18:03:54.000000000 +0100
+++ new/django-ipware-5.0.0/setup.py 2023-03-05 15:20:24.000000000 +0100
@@ -9,7 +9,7 @@
package = 'ipware'
-python_requires = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
+python_requires = ">=3.7"
here = os.path.abspath(os.path.dirname(__file__))
requires = []
@@ -70,11 +70,11 @@
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
+ 'Programming Language :: Python :: 3.11',
],
cmdclass={},
tests_require=test_requirements,