#1070493 python3-opengl: SyntaxWarning during package installation if python3.12 is installed

#1070493#5
Date:
2024-05-06 11:30:46 UTC
From:
To:
Hi,

during a test with piuparts I noticed your package emits a SyntaxWarning
during installation:

Setting up python3-opengl (3.1.7+dfsg-1) ...
/usr/lib/python3/dist-packages/OpenGL/GL/AMD/vertex_shader_tessellator.py:1: SyntaxWarning: invalid escape sequence '\ '
  '''OpenGL extension AMD.vertex_shader_tessellator

Note that this only happens if python3.12 is installed (which is not yet
the default).


Cheers,

Andreas

#1070493#10
Date:
2025-03-14 12:21:45 UTC
From:
To:
Dear Maintainer,

This warning is still happening. The reason is described in [1].
From my reading of the file, changing the docstring to a raw docstring,
i.e. ''' → r''' on line 1, should solve the issue.

[1] https://docs.python.org/3/whatsnew/3.12.html#other-language-changes

#1070493#15
Date:
2025-03-14 15:37:22 UTC
From:
To:
I just received this error when upgrading to the latest version in testing (trixie):

Setting up python3-opengl (3.1.9+dfsg-1) ...
/usr/lib/python3/dist-packages/OpenGL/GL/AMD/vertex_shader_tessellator.py:1: SyntaxWarning: invalid escape sequence '\ '
  '''OpenGL extension AMD.vertex_shader_tessellator

Python 3.13 is the current default. It's still not critical since this is only a warning and functionality does
not appear to be affected, but it might be an easy fix.

#1070493#20
Date:
2025-08-26 03:49:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pyopengl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1070493@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Talbert <swt@techie.net> (supplier of updated pyopengl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 25 Aug 2025 21:28:50 -0400
Source: pyopengl
Architecture: source
Version: 3.1.10+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Scott Talbert <swt@techie.net>
Closes: 1070493
Changes:
 pyopengl (3.1.10+dfsg-1) unstable; urgency=medium
 .
   * Team upload.
   * Update to new upstream release 3.1.10 (Closes: #1070493)
   * Re-enable build-time tests
   * Update Standards-Version to 4.7.2
   * Patch test to avoid packaging mmap-test-data.dat file
   * Fix upstream metadata
Checksums-Sha1:
 6e67f77a37c65504c5acaf9368c2314514eb17b5 2512 pyopengl_3.1.10+dfsg-1.dsc
 207017dbb9c4a0b2e985fbc5c649ad9075755112 648584 pyopengl_3.1.10+dfsg.orig.tar.xz
 2ca0b207ed63c08be2deeef574434ca645f893fa 14236 pyopengl_3.1.10+dfsg-1.debian.tar.xz
 7b3bde7b959aaf9474e35a2c0090d3c3d51210c1 10627 pyopengl_3.1.10+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 6c63043752370b0758929bcea136643d845142005d682fdad91f319c5aea1b81 2512 pyopengl_3.1.10+dfsg-1.dsc
 25b627434be4e4c6d2b6c78f8d2b56355f7beb5a7bf905524f40acc26af39efa 648584 pyopengl_3.1.10+dfsg.orig.tar.xz
 99e1971f48cdcea250e6952e6696355b3418fbddb81ebb014a6664f0b7389349 14236 pyopengl_3.1.10+dfsg-1.debian.tar.xz
 056778a12d2f90fe4a58dfccdc3fed72434c6528b703acf0cf5af7a05baa1a13 10627 pyopengl_3.1.10+dfsg-1_amd64.buildinfo
Files:
 2848205ca2db287ac008cc9a441ebbf5 2512 python optional pyopengl_3.1.10+dfsg-1.dsc
 7cf7c35f0cd06c4a2c555775233f130f 648584 python optional pyopengl_3.1.10+dfsg.orig.tar.xz
 2c8bf750d41bf1d984c94f54a69f8de9 14236 python optional pyopengl_3.1.10+dfsg-1.debian.tar.xz
 6d68d6d1799380b8b0b53e0dc8f178f1 10627 python optional pyopengl_3.1.10+dfsg-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAmitEekPHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3iiCYoP/j+oZwA8QzZeHnFb94C4UEuEFb+A/4RY1GUd
zf5VHd6YDYuvQCMvRzIC76PYia9guZmDmB7QFrLHLJZQ/kf1V3ZArnA+NFlBhjDC
5yXIyIOiUZi08kK6nDb+F3gMfpxpbl3OER/9RxjDQ71tJjKQqT7QCI/fWYtad3hP
zDiwKJP4gFoRM1yD9807vosz40yPFDssmgVq+u2Zpr3+0tb3/LtP/S+ZXu1p7Iwt
xsPW8tCTEcch1x8MiLxtFQgNSwQJkrR1BQYVQ6sjil2nfq6SusN0LmB5Bh14eBAK
WpHQgw5Qilatpqhol3cg7Sh30NMjbYecAYMCXB1nMTeyKDWjquJ0Jba4oqrpIjMg
c7hvaTjSCQ/xJNygYjjQkNSRJoecJ5V9go9r4K7zZvUahF0NFsRCaL3gGZDWjqtl
rWgM/dd1l0sxLYEZYwlabv9je2c8tWUhOgg3SlSRPbSMJhm1pXy7QT0Pk8Rkmsho
kqDsH3IQZMi86h1jf8XlVMalXSh4RNFL53KqoRntITLqYBv8UlpvlIRDem2U//k7
/CWFIeBfhqDP/nfq+l1+Sa0/lMc0CRBNHr/5bQZB6cp+XvYTXsnvnr+JTlxs6F8w
lreTynB2jA+PPODtaiRsBZSZaCA2B/Uc4HwIfhL6yQgxdIBDrjqZ9b6fn+ceKwK9
S0/tS9hE
=nYaB
-----END PGP SIGNATURE-----