Accepting request 825918 from devel:languages:python:django

OBS-URL: https://build.opensuse.org/request/show/825918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=67
This commit is contained in:
Dominique Leuenberger 2020-09-04 08:56:50 +00:00 committed by Git OBS Bridge
commit c0af51ec6d
8 changed files with 110 additions and 88 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31a5fbbea5fc71c99e288ec0b2f00302a0a92c44b13ede80b73a6a4d6d205582
size 9080731

View File

@ -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.8, released July 1, 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.8.tar.gz
https://www.djangoproject.com/m/releases/3.0/Django-3.0.8-py3-none-any.whl
MD5 checksums
=============
bc53ba68c6a322dc1f3c03f76eadbf41 Django-3.0.8.tar.gz
f7739227c05ae04ee7df444c92d6989a Django-3.0.8-py3-none-any.whl
SHA1 checksums
==============
8c2054f2939d443096649cbdce0188718a183316 Django-3.0.8.tar.gz
30c3b556c9beb50a660e57b7a18eb6d86e1628e8 Django-3.0.8-py3-none-any.whl
SHA256 checksums
================
31a5fbbea5fc71c99e288ec0b2f00302a0a92c44b13ede80b73a6a4d6d205582 Django-3.0.8.tar.gz
5457fc953ec560c5521b41fad9e6734a4668b7ba205832191bbdff40ec61073c Django-3.0.8-py3-none-any.whl
-----BEGIN PGP SIGNATURE-----
iQJPBAEBCAA5FiEEq7LCqM0B8WE2GLcNLvVjcrpIzRsFAl78EIcbHGZlbGlzaWFr
Lm1hcml1c3pAZ21haWwuY29tAAoJEC71Y3K6SM0bUmYP/1o47PDA+LyQ9aVTc4RE
lAo8EWG/J0QKDslc+bS0p+1ClHaFEufY/MU7nv4kpl8O+21lyThlsnfIb+soyRV2
XpHPBxretxKqgdWGfbkJGSsSNx5fIp4FKdXrKwEI7KLCJKmtOZLiWi0gH/hrCQdS
fOQMXxnfszuyi6GKZc8HhXmA/Vw2OfJ7ZkWttCcRNQtRQb55nNu1oscKh9Zp4IMu
CjaxHnwUFG7qlwmlb1HLbpXa2/Z4mgwOGiDTpOuyABKQpLTlr/hHmXFRjuF60ukM
8OO5GKidS7LOheCRU/4Dh4JLBn1redsTvPuiOLuuD482OVqxrOy5Lj94XAtOh/ml
y64VyTPj0M8Tm/4ONuMWryPwpx9TqBwowMMKneY/goxQisA1hjnnh0YCJ2p2WZFL
j6HEYUJTSL7340wEAQwh2qMsU+J25QuYFEabYKO5zMLQmbVHdink2MNCwKvDHEKJ
CPSkd+XY28FQ1w2HhUZ3X4EQr4krHPc6GatLX69rmcFXfERh5GS/UTDGrGD4prFR
DuaGdQgwg3az5wfUVJJoNqpmZE6RFPmYgpElYLROXvQVfXcAFMzgl6TFHO4nv982
w7V1rQx5LOUkOADcYVGBJC1fkh1nOaC2k6yvRHQ0SlJ8XiEIN0eOjs9AOULRAvYY
ps1Owyhby5wE1WeAxut9v0Uf
=XtWY
-----END PGP SIGNATURE-----

3
Django-3.1.tar.gz Normal file
View 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
View 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-----

View File

@ -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))

View 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')

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
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>
- update to 3.0.9
* Allowed setting the SameSite cookie flag in HttpResponse.delete_cookie()
* Fixed crash when sending emails to addresses with display names longer than
75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+
-------------------------------------------------------------------
Wed Jul 8 11:52:27 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -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.8
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}