New upstream release.
Debian Janitor
9 months ago
0 | # https://devguide.python.org/versions | |
1 | # https://www.djangoproject.com/download/#supported-versions | |
0 | 2 | name: (CI) |
1 | 3 | |
2 | 4 | on: |
3 | 5 | push: |
4 | 6 | branches: |
5 | 7 | - ci |
8 | pull_request: | |
9 | branches: | |
10 | - ci | |
11 | - master | |
6 | 12 | |
7 | 13 | jobs: |
8 | 14 | build: |
10 | 16 | runs-on: ubuntu-latest |
11 | 17 | strategy: |
12 | 18 | matrix: |
13 | python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy3] | |
14 | django-version: [2.2, 3.0, 3.1, 3.2, 4.0] | |
19 | python-version: [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.9] | |
20 | django-version: [3.2, 4.0, 4.1] | |
15 | 21 | exclude: |
16 | 22 | # excludes list |
17 | - python-version: 3.6 | |
23 | - python-version: 3.7 | |
18 | 24 | django-version: 4.0 |
19 | 25 | - python-version: 3.7 |
20 | django-version: 4.0 | |
21 | - python-version: pypy3 | |
26 | django-version: 4.1 | |
27 | - python-version: 3.11 | |
28 | django-version: 3.2 | |
29 | - python-version: 3.11 | |
22 | 30 | django-version: 4.0 |
23 | 31 | |
24 | 32 | steps: |
25 | - uses: actions/checkout@v2 | |
33 | - uses: actions/checkout@v3 | |
26 | 34 | - name: setup python |
27 | uses: actions/setup-python@v2 | |
35 | uses: actions/setup-python@v4 | |
28 | 36 | with: |
29 | 37 | python-version: ${{ matrix.python-version }} |
30 | 38 | - name: Install dependencies |
31 | 39 | run: | |
32 | 40 | python -m pip install --upgrade pip |
33 | 41 | pip install -e . |
34 | pip install coveralls | |
42 | pip install --upgrade coveralls | |
35 | 43 | pip install "django~=${{ matrix.django-version }}.0" |
36 | 44 | - name: Run flake8 |
37 | 45 | run: | |
38 | pip install flake8 | |
46 | pip install --upgrade flake8 | |
39 | 47 | flake8 --exclude=migrations,tests --ignore=E501,E241,E225,E128 . |
40 | 48 | - name: Run pycodestyle |
41 | 49 | run: | |
42 | pip install pycodestyle | |
50 | pip install --upgrade pycodestyle | |
43 | 51 | pycodestyle --exclude=migrations,tests --ignore=E501,E241,E225,E128 . |
44 | 52 | - name: Run test |
45 | 53 | run: | |
13 | 13 | runs-on: ubuntu-latest |
14 | 14 | strategy: |
15 | 15 | matrix: |
16 | python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy3] | |
17 | django-version: [2.2, 3.0, 3.1, 3.2, 4.0] | |
16 | python-version: [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.9] | |
17 | django-version: [3.2, 4.0, 4.1] | |
18 | 18 | exclude: |
19 | 19 | # excludes list |
20 | - python-version: 3.6 | |
20 | - python-version: 3.7 | |
21 | 21 | django-version: 4.0 |
22 | 22 | - python-version: 3.7 |
23 | django-version: 4.0 | |
24 | - python-version: pypy3 | |
23 | django-version: 4.1 | |
24 | - python-version: 3.11 | |
25 | django-version: 3.2 | |
26 | - python-version: 3.11 | |
25 | 27 | django-version: 4.0 |
26 | 28 | |
27 | 29 | steps: |
28 | - uses: actions/checkout@v2 | |
30 | - uses: actions/checkout@v3 | |
29 | 31 | - name: setup python |
30 | uses: actions/setup-python@v2 | |
32 | uses: actions/setup-python@v4 | |
31 | 33 | with: |
32 | 34 | python-version: ${{ matrix.python-version }} |
33 | 35 | - name: Install dependencies |
34 | 36 | run: | |
35 | 37 | python -m pip install --upgrade pip |
36 | 38 | pip install -e . |
37 | pip install coveralls | |
39 | pip install --upgrade coveralls | |
38 | 40 | pip install "django~=${{ matrix.django-version }}.0" |
39 | 41 | - name: Run flake8 |
40 | 42 | run: | |
41 | pip install flake8 | |
43 | pip install --upgrade flake8 | |
42 | 44 | flake8 --exclude=migrations,tests --ignore=E501,E241,E225,E128 . |
43 | 45 | - name: Run pycodestyle |
44 | 46 | run: | |
45 | pip install pycodestyle | |
47 | pip install --upgrade pycodestyle | |
46 | 48 | pycodestyle --exclude=migrations,tests --ignore=E501,E241,E225,E128 . |
47 | 49 | - name: Run test |
48 | 50 | run: | |
12 | 12 | runs-on: ubuntu-latest |
13 | 13 | strategy: |
14 | 14 | matrix: |
15 | python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy3] | |
16 | django-version: [2.2, 3.0, 3.1, 3.2, 4.0] | |
15 | python-version: [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.9] | |
16 | django-version: [3.2, 4.0, 4.1] | |
17 | 17 | exclude: |
18 | 18 | # excludes list |
19 | - python-version: 3.6 | |
19 | - python-version: 3.7 | |
20 | 20 | django-version: 4.0 |
21 | 21 | - python-version: 3.7 |
22 | django-version: 4.1 | |
23 | - python-version: 3.11 | |
24 | django-version: 3.2 | |
25 | - python-version: 3.11 | |
22 | 26 | django-version: 4.0 |
23 | - python-version: pypy3 | |
24 | django-version: 4.0 | |
27 | ||
25 | 28 | steps: |
26 | - uses: actions/checkout@v2 | |
29 | - uses: actions/checkout@v3 | |
27 | 30 | - name: setup python |
28 | uses: actions/setup-python@v2 | |
31 | uses: actions/setup-python@v4 | |
29 | 32 | with: |
30 | 33 | python-version: ${{ matrix.python-version }} |
31 | 34 | - name: Install dependencies |
32 | 35 | run: | |
33 | 36 | python -m pip install --upgrade pip |
34 | 37 | pip install -e . |
35 | pip install coveralls | |
38 | pip install --upgrade coveralls | |
36 | 39 | pip install "django~=${{ matrix.django-version }}.0" |
37 | 40 | - name: Run flake8 |
38 | 41 | run: | |
39 | pip install flake8 | |
42 | pip install --upgrade flake8 | |
40 | 43 | flake8 --exclude=migrations,tests --ignore=E501,E241,E225,E128 . |
41 | 44 | - name: Run pycodestyle |
42 | 45 | run: | |
43 | pip install pycodestyle | |
46 | pip install --upgrade pycodestyle | |
44 | 47 | pycodestyle --exclude=migrations,tests --ignore=E501,E241,E225,E128 . |
45 | 48 | - name: Run test |
46 | 49 | run: | |
0 | 0 | { |
1 | 1 | "python.linting.enabled": false, |
2 | 2 | "cSpell.words": [ |
3 | "Neekman", | |
4 | "Neekware", | |
5 | "Pware", | |
6 | 3 | "cmdclass", |
7 | 4 | "getattr", |
8 | 5 | "ipware", |
9 | 6 | "multicast", |
7 | "Neekman", | |
8 | "Neekware", | |
10 | 9 | "noqa", |
10 | "Pware", | |
11 | 11 | "pycodestyle", |
12 | 12 | "pyflakes", |
13 | "pypy", | |
13 | 14 | "routable", |
14 | 15 | "setuptools", |
15 | 16 | "stackoverflow", |
0 | # 5.0.0 | |
1 | ||
2 | Enhancement: | |
3 | ||
4 | - Added support for Python 3.11 (@ccluass - thx) | |
5 | - Drop support for Python 3.6, Django 2.2 | |
6 | ||
0 | 7 | # 4.0.2 |
1 | 8 | |
2 | 9 | Enhancement: |
0 | # Django IPware | |
0 | # Django IPware (Read [Notice](README.md#Notice)) | |
1 | 1 | |
2 | 2 | **A Django application to retrieve client's IP address** |
3 | 3 | |
11 | 11 | |
12 | 12 | # Notice |
13 | 13 | |
14 | There is not a good `out-of-the-box` solution against fake IP addresses, aka `IP Address Spoofing`. | |
14 | There is no perfect `out-of-the-box` solution against fake IP addresses, aka `IP Address Spoofing`. | |
15 | 15 | You are encouraged to read the ([Advanced users](README.md#advanced-users)) section of this page and |
16 | 16 | use `trusted_proxies_ips` and/or `proxy_count` features to match your needs, especially `if` you are |
17 | 17 | planning to include `ipware` in any authentication, security or `anti-fraud` related architecture. |
18 | ||
19 | This is an open source project, with the source code visible to all. Therefore, it may be exploited through unimplemented, or improperly implemented features. | |
20 | ||
21 | Please use ipware `ONLY` as a complement to your `firewall` security measures! | |
18 | 22 | |
19 | 23 | # How to install |
20 | 24 |
0 | django-ipware (5.0.0-1) UNRELEASED; urgency=low | |
1 | ||
2 | * New upstream release. | |
3 | ||
4 | -- Debian Janitor <janitor@jelmer.uk> Sat, 19 Aug 2023 20:51:36 -0000 | |
5 | ||
0 | 6 | django-ipware (4.0.2-1) unstable; urgency=medium |
1 | 7 | |
2 | 8 | * Team upload |
4 | 4 | __url__ = 'https://github.com/un33k/django-ipware' |
5 | 5 | __license__ = 'MIT' |
6 | 6 | __copyright__ = 'Copyright 2020 Val Neekman @ Neekware Inc.' |
7 | __version__ = '4.0.2' | |
7 | __version__ = '5.0.0' |
8 | 8 | |
9 | 9 | |
10 | 10 | package = 'ipware' |
11 | python_requires = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" | |
11 | python_requires = ">=3.7" | |
12 | 12 | here = os.path.abspath(os.path.dirname(__file__)) |
13 | 13 | |
14 | 14 | requires = [] |
69 | 69 | 'License :: OSI Approved :: MIT License', |
70 | 70 | 'Programming Language :: Python', |
71 | 71 | 'Programming Language :: Python :: 3', |
72 | 'Programming Language :: Python :: 3.6', | |
73 | 72 | 'Programming Language :: Python :: 3.7', |
74 | 73 | 'Programming Language :: Python :: 3.8', |
75 | 74 | 'Programming Language :: Python :: 3.9', |
76 | 75 | 'Programming Language :: Python :: 3.10', |
76 | 'Programming Language :: Python :: 3.11', | |
77 | 77 | ], |
78 | 78 | cmdclass={}, |
79 | 79 | tests_require=test_requirements, |