forked from pool/python-Django
Accepting request 825714 from home:aplanas:branches:devel:languages:python:django
- Update to 3.1 * Asynchronous views and middleware support * JSONField for all supported database backends * DEFAULT_HASHING_ALGORITHM settings¶ * Read https://docs.djangoproject.com/en/3.1/releases/3.1/ - Drop fix-selenium-test.patch. Already upstream. - Add i18n_test_extraction.patch to support xgettext 0.21 OBS-URL: https://build.opensuse.org/request/show/825714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=67
This commit is contained in:
parent
a713776f6e
commit
5a89231331
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c22b4cd8e388f8219dc121f091e53a8701f9f5bca9aa132b5254263cab516215
|
||||
size 9081099
|
@ -1,63 +0,0 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
This file contains MD5, SHA1, and SHA256 checksums for the source-code
|
||||
tarball and wheel files of Django 3.0.9, released August 3, 2020.
|
||||
|
||||
To use this file, you will need a working install of PGP or other
|
||||
compatible public-key encryption software. You will also need to have
|
||||
the Django release manager's public key in your keyring; this key has
|
||||
the ID ``2EF56372BA48CD1B`` and can be imported from the MIT
|
||||
keyserver. For example, if using the open-source GNU Privacy Guard
|
||||
implementation of PGP:
|
||||
|
||||
gpg --keyserver pgp.mit.edu --recv-key 2EF56372BA48CD1B
|
||||
|
||||
Once the key is imported, verify this file::
|
||||
|
||||
gpg --verify <<THIS FILENAME>>
|
||||
|
||||
Once you have verified this file, you can use normal MD5, SHA1, or SHA256
|
||||
checksumming applications to generate the checksums of the Django
|
||||
package and compare them to the checksums listed below.
|
||||
|
||||
Release packages:
|
||||
=================
|
||||
|
||||
https://www.djangoproject.com/m/releases/3.0/Django-3.0.9.tar.gz
|
||||
https://www.djangoproject.com/m/releases/3.0/Django-3.0.9-py3-none-any.whl
|
||||
|
||||
MD5 checksums
|
||||
=============
|
||||
|
||||
b2129e2208419655709f2d22dbfa98cf Django-3.0.9.tar.gz
|
||||
1a95cfff1e7d419c16a94991de126cf1 Django-3.0.9-py3-none-any.whl
|
||||
|
||||
SHA1 checksums
|
||||
==============
|
||||
|
||||
4cb299bbe188b0ecf206dfac7227fa4d6bde13db Django-3.0.9.tar.gz
|
||||
2c6bb4fa87eca917475fa0664845e601d3571868 Django-3.0.9-py3-none-any.whl
|
||||
|
||||
SHA256 checksums
|
||||
================
|
||||
|
||||
c22b4cd8e388f8219dc121f091e53a8701f9f5bca9aa132b5254263cab516215 Django-3.0.9.tar.gz
|
||||
96fbe04e8ba0df289171e7f6970e0ff8b472bf4f909ed9e0e5beccbac7e1dbbe Django-3.0.9-py3-none-any.whl
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJPBAEBCAA5FiEEq7LCqM0B8WE2GLcNLvVjcrpIzRsFAl8nts8bHGZlbGlzaWFr
|
||||
Lm1hcml1c3pAZ21haWwuY29tAAoJEC71Y3K6SM0bQVYQAJXEzv7G7ATEdGFiO2pt
|
||||
FxBtDeRLDki7VPcYd2O8fD91wURLwPtXC/FEG7bYNspomv9hLtLy8b1GQ+iUXAEn
|
||||
6kwJtppn6ODrRx3p+5JH13ybDK24rKV9IbeyHAyLTm/E8sthbx+rcCPgFLqxGU2G
|
||||
O9rU7GKxy8kwj87jZxde+UCekXK4EMmXRDFU7kUIAXvskI3znKZf9pSLJe2eGyOz
|
||||
egjeOLxylZu1F919NTooyCyGTRmZ2yCHmTxd2+CwHXWZJg1bpn9otTYGOsBWS0xx
|
||||
41UstAU4d45s6pmgDOM+j1Gmhlon9M0p/yyXa+V1dsCimz9+NGTwqkyn23xVq4Sr
|
||||
25C6pMyaeEJJSczWapDqtySIxRygxSVKwTZpulv2e3D6tfDFa0QgRBNpR4HoFHSH
|
||||
e6O2iVgQRngyTK8uuQCiF5amUTfFUya+LKy3OkJ5U9Qu0TG8UmtEvaXxi9Ns2PYh
|
||||
fFX2XHbp/RlYfuf1fbwb1R5qFmmydtAYbzg19/iHDhWzmRo9V7n0derxPrZkzrGI
|
||||
uk+qpHHLdEb/uK4jg2PHHprwdtJN4k+QkFxXJsc1LAO9/BgX/478u556UkMoSSGz
|
||||
HB6OWFV/z3Co4aLt6c0rI6+2kjlycyCDPbpBBatHX2nZa94oOW2EieWweFfWuPoS
|
||||
uf+ON9KAegMIKWBsh4/ecnbj
|
||||
=LJcU
|
||||
-----END PGP SIGNATURE-----
|
3
Django-3.1.tar.gz
Normal file
3
Django-3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d390268a13c655c97e0e2ede9d117007996db692c1bb93eabebd4fb7ea7012b
|
||||
size 9382872
|
63
Django-3.1.tar.gz.asc
Normal file
63
Django-3.1.tar.gz.asc
Normal file
@ -0,0 +1,63 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
This file contains MD5, SHA1, and SHA256 checksums for the source-code
|
||||
tarball and wheel files of Django 3.1, released August 4, 2020.
|
||||
|
||||
To use this file, you will need a working install of PGP or other
|
||||
compatible public-key encryption software. You will also need to have
|
||||
the Django release manager's public key in your keyring; this key has
|
||||
the ID ``2EF56372BA48CD1B`` and can be imported from the MIT
|
||||
keyserver. For example, if using the open-source GNU Privacy Guard
|
||||
implementation of PGP:
|
||||
|
||||
gpg --keyserver pgp.mit.edu --recv-key 2EF56372BA48CD1B
|
||||
|
||||
Once the key is imported, verify this file::
|
||||
|
||||
gpg --verify <<THIS FILENAME>>
|
||||
|
||||
Once you have verified this file, you can use normal MD5, SHA1, or SHA256
|
||||
checksumming applications to generate the checksums of the Django
|
||||
package and compare them to the checksums listed below.
|
||||
|
||||
Release packages:
|
||||
=================
|
||||
|
||||
https://www.djangoproject.com/m/releases/3.1/Django-3.1-py3-none-any.whl
|
||||
https://www.djangoproject.com/m/releases/3.1/Django-3.1.tar.gz
|
||||
|
||||
MD5 checksums
|
||||
=============
|
||||
|
||||
281c2e919cb60fd09a64fd068cf152fb Django-3.1-py3-none-any.whl
|
||||
2001ba40467d61a2b90570a68c657e35 Django-3.1.tar.gz
|
||||
|
||||
SHA1 checksums
|
||||
==============
|
||||
|
||||
078f1ca04e2a85b33061b573eb60f653fe3af6ed Django-3.1-py3-none-any.whl
|
||||
e337b9d012e55fef0e2ebd40df2f594973be090f Django-3.1.tar.gz
|
||||
|
||||
SHA256 checksums
|
||||
================
|
||||
|
||||
1a63f5bb6ff4d7c42f62a519edc2adbb37f9b78068a5a862beff858b68e3dc8b Django-3.1-py3-none-any.whl
|
||||
2d390268a13c655c97e0e2ede9d117007996db692c1bb93eabebd4fb7ea7012b Django-3.1.tar.gz
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJPBAEBCAA5FiEEq7LCqM0B8WE2GLcNLvVjcrpIzRsFAl8pFPIbHGZlbGlzaWFr
|
||||
Lm1hcml1c3pAZ21haWwuY29tAAoJEC71Y3K6SM0b6vkP/32JhaDGV29bTaxKnaSH
|
||||
LGtLADGlIBKueTjiWGJtRGHiYqCrTg5wnqs9VDlgnskhXJqTN3dCEmX9TXrrUOAv
|
||||
Mujog0bXm1iQbD3Y/pv8RCuWUZPLbTKTbQn2OlONIHPbbTeeUFIAhu7P7t8g/Jjl
|
||||
UIKM+CjgrAluHHQf+texdN0qiddd6gajf+Re+znWuT4COo1b0urcXHUGbCyJx0Ae
|
||||
Kb/U9asLxB+Z8O+4gSxphb9Eo8dt5d3HpmnmAJ/Lfx47TCi4jmoHEHV/BNvQoYBF
|
||||
fCqLRelGWWjkPbDoCX2JAAalvNDAk4fVe9ZQkFTD6uiur1jHn/nD3Dgt+zfdhTNb
|
||||
0kQZ4WIawiH1VwQQ1GqkvDu04sToafKstdtRrgf/WbgwNivfxui531/niF30E6nd
|
||||
8svHLA+a63KFx6sQPv7v4430g6uLvvEEyqIA5tjB2MjGFgmcOhnsykYmT/bidwIy
|
||||
A0tEJ0/iNsS0WyYCqwoQ3op0+wnx1voCgN5Rt5MaBVAcwl3Lzp8StUJTC5o2QDUM
|
||||
qDdFrr1Mp4JBj992i33vu8QqQsgbUDozZJOedH3j5E47PRx74XAUHNmaAbcAKB9y
|
||||
v5XV4ueNKEyI1bP/wuUKqm6QqYRcjEnxAq08OkiBHvsqr8L0EXS+5enyaQsRNOA6
|
||||
WyWATW0ae02i6KMPWn4owW5L
|
||||
=nCOU
|
||||
-----END PGP SIGNATURE-----
|
@ -1,19 +0,0 @@
|
||||
Index: Django-2.2.8/tests/admin_inlines/tests.py
|
||||
===================================================================
|
||||
--- Django-2.2.8.orig/tests/admin_inlines/tests.py
|
||||
+++ Django-2.2.8/tests/admin_inlines/tests.py
|
||||
@@ -1,5 +1,3 @@
|
||||
-from selenium.common.exceptions import NoSuchElementException
|
||||
-
|
||||
from django.contrib.admin import ModelAdmin, TabularInline
|
||||
from django.contrib.admin.helpers import InlineAdminForm
|
||||
from django.contrib.admin.tests import AdminSeleniumTestCase
|
||||
@@ -1050,6 +1048,8 @@ class SeleniumTests(AdminSeleniumTestCas
|
||||
self.assertEqual(Profile.objects.all().count(), 3)
|
||||
|
||||
def test_add_inline_link_absent_for_view_only_parent_model(self):
|
||||
+ from selenium.common.exceptions import NoSuchElementException
|
||||
+
|
||||
user = User.objects.create_user('testing', password='password', is_staff=True)
|
||||
user.user_permissions.add(
|
||||
Permission.objects.get(codename='view_poll', content_type=ContentType.objects.get_for_model(Poll))
|
21
i18n_test_extraction.patch
Normal file
21
i18n_test_extraction.patch
Normal file
@ -0,0 +1,21 @@
|
||||
Index: Django-3.1/tests/i18n/test_extraction.py
|
||||
===================================================================
|
||||
--- Django-3.1.orig/tests/i18n/test_extraction.py
|
||||
+++ Django-3.1/tests/i18n/test_extraction.py
|
||||
@@ -6,7 +6,7 @@
|
||||
import warnings
|
||||
from io import StringIO
|
||||
from pathlib import Path
|
||||
-from unittest import mock, skipIf, skipUnless
|
||||
+from unittest import mock, skip, skipIf, skipUnless
|
||||
|
||||
from admin_scripts.tests import AdminScriptTestCase
|
||||
|
||||
@@ -225,6 +225,7 @@
|
||||
open(os.path.join(self.test_dir, 'vidéo.txt'), 'a').close()
|
||||
management.call_command('makemessages', locale=[LOCALE], verbosity=0)
|
||||
|
||||
+ @skip("xgettext 0.21 do not produce warning")
|
||||
def test_extraction_warning(self):
|
||||
"""test xgettext warning about multiple bare interpolation placeholders"""
|
||||
shutil.copyfile('./code.sample', './code_sample.py')
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 11 07:48:29 UTC 2020 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||
|
||||
- Update to 3.1
|
||||
* Asynchronous views and middleware support
|
||||
* JSONField for all supported database backends
|
||||
* DEFAULT_HASHING_ALGORITHM settings¶
|
||||
* Read https://docs.djangoproject.com/en/3.1/releases/3.1/
|
||||
- Drop fix-selenium-test.patch. Already upstream.
|
||||
- Add i18n_test_extraction.patch to support xgettext 0.21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 6 11:36:36 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -23,18 +23,19 @@
|
||||
%bcond_with memcached
|
||||
Name: python-Django
|
||||
# We want support LTS versions of Django - numbered 2.2 -> 3.2 -> 4.2 etc
|
||||
Version: 3.0.9
|
||||
Version: 3.1
|
||||
Release: 0
|
||||
Summary: A high-level Python Web framework
|
||||
License: BSD-3-Clause
|
||||
URL: https://www.djangoproject.com
|
||||
Source: https://www.djangoproject.com/m/releases/3.0/Django-%{version}.tar.gz
|
||||
Source: https://www.djangoproject.com/m/releases/3.1/Django-%{version}.tar.gz
|
||||
Source1: https://www.djangoproject.com/m/pgp/Django-%{version}.checksum.txt#/Django-%{version}.tar.gz.asc
|
||||
Source2: %{name}.keyring
|
||||
Source99: python-Django-rpmlintrc
|
||||
Patch0: i18n_test.patch
|
||||
Patch1: test_clear_site_cache-sort.patch
|
||||
Patch2: fix-selenium-test.patch
|
||||
# PATCH-FIX-OPENSUSE i18n_test_extraction.patch
|
||||
Patch2: i18n_test_extraction.patch
|
||||
BuildRequires: %{python_module Jinja2 >= 2.9.2}
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
|
Loading…
Reference in New Issue
Block a user