mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-05-17 19:51:11 +00:00
Merge pull request #162 from jazzband/post-transfer-updates
Post transfer updates
This commit is contained in:
commit
759c411b8e
5 changed files with 16 additions and 57 deletions
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
|
|
@ -16,19 +16,24 @@ jobs:
|
|||
django-version: 4.0
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v1
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -U pip
|
||||
pip install -r requirements.txt
|
||||
pip install "Django~=${{ matrix.django-version }}.0" .
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
echo "$(python --version) / Django $(django-admin --version)"
|
||||
python -m unittest discover
|
||||
coverage run --source=dj_database_url --branch -m unittest discover
|
||||
coverage report
|
||||
coverage xml
|
||||
|
||||
- uses: codecov/codecov-action@v2
|
||||
|
|
|
|||
41
.travis.yml
41
.travis.yml
|
|
@ -1,41 +0,0 @@
|
|||
dist: xenial
|
||||
language: python
|
||||
python:
|
||||
- 2.7
|
||||
- 3.4
|
||||
- 3.5
|
||||
- 3.6
|
||||
- 3.7
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- DJANGO="Django>=1.11,<2.0"
|
||||
- DJANGO="Django>=2.0,<2.1"
|
||||
- DJANGO="Django>=2.1,<2.2"
|
||||
- DJANGO="Django>=2.2a1,<3.0"
|
||||
- DJANGO="https://github.com/django/django/archive/master.tar.gz"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
exclude:
|
||||
# Django 2 dropped support for Python 2.
|
||||
- python: 2.7
|
||||
env: DJANGO="Django>=2.0,<2.1"
|
||||
- python: 2.7
|
||||
env: DJANGO="Django>=2.1,<2.2"
|
||||
- python: 2.7
|
||||
env: DJANGO="Django>=2.2a1,<3.0"
|
||||
- python: 2.7
|
||||
env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
|
||||
# Django 2.1 dropped support for Python 3.4.
|
||||
- python: 3.4
|
||||
env: DJANGO="Django>=2.1,<2.2"
|
||||
- python: 3.4
|
||||
env: DJANGO="Django>=2.2a1,<3.0"
|
||||
- python: 3.4
|
||||
env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
|
||||
allow_failures:
|
||||
- env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
|
||||
|
||||
install: pip install . $DJANGO
|
||||
script: make test
|
||||
|
|
@ -1 +0,0 @@
|
|||
include LICENSE
|
||||
1
requirements.txt
Normal file
1
requirements.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
coverage
|
||||
17
setup.py
17
setup.py
|
|
@ -7,25 +7,22 @@ with open("README.rst") as readme_rst:
|
|||
setup(
|
||||
name="dj-database-url",
|
||||
version="0.5.0",
|
||||
url="https://github.com/jacobian/dj-database-url",
|
||||
url="https://github.com/jazzband/dj-database-url",
|
||||
license="BSD",
|
||||
author="Kenneth Reitz",
|
||||
author_email="me@kennethreitz.com",
|
||||
description="Use Database URLs in your Django Application.",
|
||||
long_description=readme,
|
||||
py_modules=["dj_database_url"],
|
||||
install_requires=["Django>1.11"],
|
||||
install_requires=["Django>3.2"],
|
||||
zip_safe=False,
|
||||
include_package_data=True,
|
||||
platforms="any",
|
||||
classifiers=[
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Django",
|
||||
"Framework :: Django :: 1.11",
|
||||
"Framework :: Django :: 2.0",
|
||||
"Framework :: Django :: 2.1",
|
||||
"Framework :: Django :: 2.2",
|
||||
"Framework :: Django :: 3.0",
|
||||
"Framework :: Django :: 3.2",
|
||||
"Framework :: Django :: 4.0",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: BSD License",
|
||||
"Operating System :: OS Independent",
|
||||
|
|
@ -33,12 +30,10 @@ setup(
|
|||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.4",
|
||||
"Programming Language :: Python :: 3.5",
|
||||
"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",
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue