From 5cd5359fe9ae7f28102daa77ef06eae8dcbab07b4e082731860097001eb70f97 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 9 Feb 2024 10:55:29 +0000 Subject: [PATCH] - Add python3122.patch to fix tests with python 3.12.2 gh#django/django#17843 - Update to 4.2.10 (bsc#1219683, CVE-2024-24680): - Django 4.2.10 fixes a security issue with severity "moderate" in 4.2.9. CVE-2024-24680: Potential denial-of-service in intcomma template filter The intcomma template filter was subject to a potential denial-of-service attack when used with very long strings. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=158 --- Django-4.2.10.checksum.txt | 67 +++++++++++++++ Django-4.2.10.tar.gz | 3 + Django-4.2.9.checksum.txt | 67 --------------- Django-4.2.9.tar.gz | 3 - python-Django.changes | 12 +++ python-Django.keyring | 169 +++++++++++-------------------------- python-Django.spec | 6 +- python3122.patch | 28 ++++++ 8 files changed, 164 insertions(+), 191 deletions(-) create mode 100644 Django-4.2.10.checksum.txt create mode 100644 Django-4.2.10.tar.gz delete mode 100644 Django-4.2.9.checksum.txt delete mode 100644 Django-4.2.9.tar.gz create mode 100644 python3122.patch diff --git a/Django-4.2.10.checksum.txt b/Django-4.2.10.checksum.txt new file mode 100644 index 0000000..3420143 --- /dev/null +++ b/Django-4.2.10.checksum.txt @@ -0,0 +1,67 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +This file contains MD5, SHA1, and SHA256 checksums for the source-code +tarball and wheel files of Django 4.2.10, released February 6, 2024. + +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 ``2EE82A8D9470983E`` 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 2EE82A8D9470983E + +or via the GitHub API: + + curl https://github.com/nessita.gpg | gpg --import - + +Once the key is imported, verify this file: + + gpg --verify Django-4.2.10.checksum.txt + +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/4.2/Django-4.2.10-py3-none-any.whl +https://www.djangoproject.com/m/releases/4.2/Django-4.2.10.tar.gz + +MD5 checksums +============= + +5dcf4c531c7f4426015dac75df1cfcde Django-4.2.10-py3-none-any.whl +111a3d77ee7c7d95fd2187939d6e4deb Django-4.2.10.tar.gz + +SHA1 checksums +============== + +27025787a4b89e574af6e8185aa4a46aed2ad03e Django-4.2.10-py3-none-any.whl +30ae8758eabaed03fdf017aaed1a7c7e684d5679 Django-4.2.10.tar.gz + +SHA256 checksums +================ + +a2d4c4d4ea0b6f0895acde632071aff6400bfc331228fc978b05452a0ff3e9f1 Django-4.2.10-py3-none-any.whl +b1260ed381b10a11753c73444408e19869f3241fc45c985cd55a30177c789d13 Django-4.2.10.tar.gz +-----BEGIN PGP SIGNATURE----- + +iQJcBAEBCABGFiEEW1sboQ2FrHxcduOPLugqjZRwmD4FAmXCLdQoHDEyNDMwNCtu +ZXNzaXRhQHVzZXJzLm5vcmVwbHkuZ2l0aHViLmNvbQAKCRAu6CqNlHCYPvxsD/9z +h6G8igLZbfhGeLdcyXsp1uEY4gOxz8z7bkfg2vunQO439vtclVyhEK2HOGaYALNt +sffoEU9e9HpcaYh6Y4AXtlLg/mMnypAwm1Li2JpkS6i7ZWcEgcAe8VkpUtXqIaQ2 +nReeCir2BUx8rKbPpZrUC0MR7cGp8GH8RlFvSXDGwyHuV9rEz1mlF0d4HuhRY5Wq +TZqXXk3P2aik3uKpvvtUu6OT3NHk6GGEyoTunS57gnujPr4x9HBsG3DxkAGU7c2j +eSaZqIPIVm28HnqS1UexhHGOWTbKEdLynxFtszRLtWVsSKsx+JpyhiQEharJli9u +kCUHzXOk8A2e66B190Bc4gAJw6PeCZ9nsykDO3ijE8BU7LFqPNNua+h7G7EQQ73X +RhB8oSlolpoJLHZhg2nbFOYVH1nVcR5wcPjlZLk5v9UujZ/PjZx0xl0VXEMreY8A +WUUrwRfJb9+Xhai3Hp1baB3+ABC1y3/A/qBH01jiaNSkJt5ZT5HBrZVD+cLAakYB +ak8WQE4xmYv4ApsbCzt9aOm3boOvWpynNtjy+95Nwcz9t9a7R19anj0yZwEGRi1T +kYNELJqx17PGRmiNzYRuLyLbpysnSPWARGTGpw7G0TYwjABuoKvymhR38K1Ah9lt +Mrr1R0eNtu9JumpVd09ItKHOxdEhONbBdl/RtLUarQ== +=C/EE +-----END PGP SIGNATURE----- diff --git a/Django-4.2.10.tar.gz b/Django-4.2.10.tar.gz new file mode 100644 index 0000000..91aeb2f --- /dev/null +++ b/Django-4.2.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1260ed381b10a11753c73444408e19869f3241fc45c985cd55a30177c789d13 +size 10425081 diff --git a/Django-4.2.9.checksum.txt b/Django-4.2.9.checksum.txt deleted file mode 100644 index 005c5d4..0000000 --- a/Django-4.2.9.checksum.txt +++ /dev/null @@ -1,67 +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 4.2.9, released January 2, 2024. - -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 - -or via the GitHub API: - - curl https://github.com/felixxm.gpg | gpg --import - - -Once the key is imported, verify this file: - - gpg --verify Django-4.2.9.checksum.txt - -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/4.2/Django-4.2.9-py3-none-any.whl -https://www.djangoproject.com/m/releases/4.2/Django-4.2.9.tar.gz - -MD5 checksums -============= - -8d7de98628eaea5f59359a54730dc86b Django-4.2.9-py3-none-any.whl -c2db8304df0459fbf4c6309e2a7d0fd5 Django-4.2.9.tar.gz - -SHA1 checksums -============== - -2be9e5209d679bb5f01a1634c95a55dbd26687c7 Django-4.2.9-py3-none-any.whl -7853d23f19ffe0ea240e61d412e4b91e1ec7e2c9 Django-4.2.9.tar.gz - -SHA256 checksums -================ - -2cc2fc7d1708ada170ddd6c99f35cc25db664f165d3794bc7723f46b2f8c8984 Django-4.2.9-py3-none-any.whl -12498cc3cb8bc8038539fef9e90e95f507502436c1f0c3a673411324fa675d14 Django-4.2.9.tar.gz ------BEGIN PGP SIGNATURE----- - -iQJPBAEBCAA5FiEEq7LCqM0B8WE2GLcNLvVjcrpIzRsFAmWT0yQbHGZlbGlzaWFr -Lm1hcml1c3pAZ21haWwuY29tAAoJEC71Y3K6SM0bNrAP/2y71OxD6PaNe/Cz8gii -XWBA09pWPNVavlChzWnBtwqqbAfh7JLE1mLr4n5oaPwK1l8ft1QVb0ibXojT0ow4 -ZepClfx7EYbXiyS1qdd7ODcPb8isTcZdGVMvKNBFfooavuRzq6tf7kPLsgOOpITn -Snc6/uSarrcNmZawa8BYGUG1eBbY4IoW8Dv79VqUwpunNO6LPi/qWYYMXs0Xxn2z -LxCR0RFNPwhzEmO3DBzDWkliFjFA4APCeta682fNvJHHCCyzHcuNzHumdSPNdpdK -0t2f5Dpim6hDD+BUBPshFafZPPT1fFKCZJ7OxGo7IUy3hq6VdZF0vsw6g6G4Fg2j -X8I64hhJ3DiW3pmr7xGOZM5xnARRiasyBY6Sg/lJqK5iqy0Dka9AuU5/GQTECNUp -ZdQCW9n+qpvHdMqpb9WhKJJgbTRZVkFICyFixs1Yc6bjM6rEvtMQNXQAe018ZH05 -Zkg1ePcwca2btL+RS4Ccd1CcL8tb2csiaziH/ywOp+CjSxo4WmuOMdiWEIZrcAFF -EnM54h2qQr3W52pcQEWrmiR8JxsLvF17C4vYpFdNzm6oUvzRcDWA8nTqCEQ5kW6W -WkFs56l2stGw6SZoIFTK6ozA74Gf96wyuQtPcP2ytvTELnUGGNGhpwgxy884Xuh1 -+9VjMt+j761MRCNcJfOY/usR -=8Oud ------END PGP SIGNATURE----- diff --git a/Django-4.2.9.tar.gz b/Django-4.2.9.tar.gz deleted file mode 100644 index 5a73ba6..0000000 --- a/Django-4.2.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12498cc3cb8bc8038539fef9e90e95f507502436c1f0c3a673411324fa675d14 -size 10428500 diff --git a/python-Django.changes b/python-Django.changes index e839635..573df45 100644 --- a/python-Django.changes +++ b/python-Django.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Feb 9 10:18:37 UTC 2024 - Daniel Garcia + +- Add python3122.patch to fix tests with python 3.12.2 + gh#django/django#17843 +- Update to 4.2.10 (bsc#1219683, CVE-2024-24680): + - Django 4.2.10 fixes a security issue with severity "moderate" in + 4.2.9. + CVE-2024-24680: Potential denial-of-service in intcomma template + filter The intcomma template filter was subject to a potential + denial-of-service attack when used with very long strings. + ------------------------------------------------------------------- Thu Jan 4 09:27:51 UTC 2024 - Alberto Planas Dominguez diff --git a/python-Django.keyring b/python-Django.keyring index 8de348c..12588db 100644 --- a/python-Django.keyring +++ b/python-Django.keyring @@ -1,121 +1,52 @@ -----BEGIN PGP PUBLIC KEY BLOCK----- -mQINBFYVPG8BEACy8Ck2PGx9zC3tDe5rOflqzSGvTVXGLJosJpxBq+5vZv3FCsHk -r1ynG0osFpFFdo51lb92sPiF7DooCW2VGCpnrC7IxpNCmDgavDk3GnWpLbEkKNxc -DtRoGoJqJLVwM3ITfIKn1QGqIKx6zDwDj3W6ECozpQ20wNeM2so12Nqkt4O2GNAt -B5WfRZVfA9aNXvEp0j79es6dhgnL7qG5jZtO1TfmJdkEPDoPMg19YkQDbOU559Sj -gniHDn2TLLwtne1CHMznawZ9Vf/gLcE9HSTzqX1XwNFJ1pNDAEfzQ01PCbpW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CqN +lHCYPgUCZC7pcgIbDAAKCRAu6CqNlHCYPhz3EACx3HqfKUMeqUTVOiDyHguBr1Fr +hMtU5m/nkjdbLWlBHOGHkM4RNDNQTPyQb/C8vcuHYv5lDPFrzOawdjTyFCuo6f0T +MIx38Bbjxo9C8XTnvKbUpyTEQ3dJm67ppF4n6cui+0ICUefzPkkCbdIPzt2pYopM +DB4Hv4Yv6hqeq987Iz1erh7dQe1TDTxIv9PXLYZT60RoK0+g+caU9LwVjYiLoeCM +1Zhndy6fDV5mu3ctEzcqr/YVH9kDZAuF0O1SX9y42neJ7hictnE0KrRymVL5d9pp +2WKtPny+itSax/a///Q43m1gA9KFuKHtOuGUpYzf76FSLd0cC4xjDpPcVTGc8To4 ++CjNTIrjzbBYa3JU/3J2kwyEw/k1EucRb/RFPbklUSphKmd2ewcDLUvcasTwoR/0 +uplA8gAuV1x7wPBgAW7kmpjiQevl1KLj08HA/jTdfrdxYd1GGiNjBmHGu9C8YZ/7 +fJU50dhv4jWF4dw8OyXtAI4wk5aoJHsJ5iGIMVOVzNLemF4yM4XSBBno1mWgaSb4 +2LInsYv/ti1VrOrBVzmAYAoUTZL0tfEXeyzHEmWGWVHeSQMBvCqUmh/EcQDzPtkq +jQQ1LyE5s2fyt5u+jE9JdK/61yKzbKI2UbpPtAaKSlDveAgTzM5bOOqtGR7VR2hl +CM4I4k2D0Y/snh2HzA== +=24jG +-----END PGP PUBLIC KEY BLOCK----- diff --git a/python-Django.spec b/python-Django.spec index 571ec9f..9afba30 100644 --- a/python-Django.spec +++ b/python-Django.spec @@ -24,7 +24,7 @@ %{?sle15_python_module_pythons} Name: python-Django # We want support LTS versions of Django - numbered 2.2 -> 3.2 -> 4.2 etc -Version: 4.2.9 +Version: 4.2.10 Release: 0 Summary: A high-level Python Web framework License: BSD-3-Clause @@ -37,6 +37,8 @@ Source99: python-Django-rpmlintrc Patch0: sanitize_address.patch # PATCH-FIX-OPENSUSE: ignore minor failure on Python 3.12 Patch1: dirty-hack-remove-assert.patch +# PATCH-FIX-UPSTREAM: python3122.patch gh#django/django#17843 +Patch2: python3122.patch BuildRequires: %{python_module Jinja2 >= 2.9.2} BuildRequires: %{python_module Pillow >= 6.2.0} BuildRequires: %{python_module PyYAML} @@ -68,7 +70,7 @@ Requires: python-pytz Requires: python-setuptools Requires: python-sqlparse >= 0.3.1 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Recommends: python-Jinja2 >= 2.9.2 Recommends: python-PyYAML Recommends: python-geoip2 diff --git a/python3122.patch b/python3122.patch new file mode 100644 index 0000000..f65e9a2 --- /dev/null +++ b/python3122.patch @@ -0,0 +1,28 @@ +From 20b7aac7ca60b0352d926340622e618bcbee54a8 Mon Sep 17 00:00:00 2001 +From: Mariusz Felisiak +Date: Mon, 16 Oct 2023 06:27:27 +0200 +Subject: [PATCH] Refs #34900, Refs #34118 -- Updated assertion in + test_skip_class_unless_db_feature() test on Python 3.12.1+. + +Python 3.12.1+ no longer includes skipped tests in the number of +running tests. Check out: + +https://github.com/python/cpython/issues/110890#issuecomment-1763458686 +https://github.com/python/cpython/pull/106588 +--- + tests/test_utils/tests.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +Index: Django-4.2.10/tests/test_utils/tests.py +=================================================================== +--- Django-4.2.10.orig/tests/test_utils/tests.py ++++ Django-4.2.10/tests/test_utils/tests.py +@@ -185,7 +185,7 @@ class SkippingClassTestCase(TestCase): + result = unittest.TextTestRunner(stream=StringIO()).run(test_suite) + # PY312: Python 3.12.1+ no longer includes skipped tests in the number + # of running tests. +- self.assertEqual(result.testsRun, 1 if sys.version_info >= (3, 12, 1) else 3) ++ self.assertEqual(result.testsRun, 1 if sys.version_info == (3, 12, 1) else 3) + self.assertEqual(len(result.skipped), 2) + self.assertEqual(result.skipped[0][1], "Database has feature(s) __class__") + self.assertEqual(result.skipped[1][1], "Database has feature(s) __class__")