Your message dated Sun, 21 Sep 2025 17:56:53 +0000
with message-id <[email protected]>
and subject line Bug#1114250: fixed in pagure 5.14.1+dfsg-8
has caused the Debian Bug report #1114250,
regarding pagure: tests fail with flask 3.1.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1114250: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114250
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pagure
Version: 5.14.1+dfsg-7
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pagure, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3,sphinxdoc,apache2 --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf doc/_build
dh_auto_clean
I: pybuild base:311: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU General Public License v2 or later 
(GPLv2+)

[... snipped ...]


tests/test_pagure_flask_internal.py: 9 warnings
tests/test_pagure_flask_ui_app.py: 37 warnings
tests/test_pagure_flask_ui_app_give_project.py: 11 warnings
tests/test_pagure_flask_ui_fork.py: 1 warning
tests/test_pagure_flask_ui_issues.py: 18 warnings
tests/test_pagure_flask_ui_login.py: 7 warnings
tests/test_pagure_flask_ui_plugins.py: 2 warnings
tests/test_pagure_flask_ui_plugins_mirror.py: 1 warning
tests/test_pagure_flask_ui_priorities.py: 52 warnings
tests/test_pagure_flask_ui_quick_reply.py: 11 warnings
tests/test_pagure_flask_ui_remote_pr.py: 1 warning
tests/test_pagure_flask_ui_repo.py: 8 warnings
tests/test_pagure_flask_ui_repo_mirrored_from.py: 5 warnings
tests/test_pagure_flask_ui_roadmap.py: 33 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/flask_app.py:260:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    if (datetime.datetime.utcnow() - login_time) > pagure_config.get(

tests/test_pagure_flask_internal.py::PagureFlaskInternaltests::test_get_project_family
tests/test_pagure_flask_internal.py::PagureFlaskInternaltests::test_get_project_larger_family
tests/test_pagure_flask_internal.py::PagureFlaskInternaltests::test_get_project_larger_family_pr_only
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:5838:
 SAWarning: Coercing Subquery object into a select() for use in IN(); please 
pass a select() construct explicitly
    model.Project.parent_id.in_(sub.subquery()),

tests/test_pagure_flask_internal.py::PagureFlaskInternaltests::test_get_stats_commits_trend_git_populated
tests/test_pagure_flask_internal.py::PagureFlaskInternaltests::test_get_stats_commits_trend_git_populated
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/tasks.py:1044:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    datetime.datetime.utcnow() - arrow.get(commit.commit_time).naive

tests/test_pagure_flask_internal.py::PagureFlaskInternaltests::test_get_stats_commits_trend_git_populated
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_internal.py:2178:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    today = datetime.datetime.utcnow().date()

tests/test_pagure_flask_internal.py::PagureFlaskInternaltests::test_lookup_ssh_key
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:281:
 SAWarning: implicitly coercing SELECT object to scalar subquery; please use 
the .scalar_subquery() method to produce a scalar subquery.
    query = query.filter(model.SSHKey.user_id == userowner)

tests/test_pagure_flask_internal.py: 2 warnings
tests/test_pagure_lib.py: 7 warnings
tests/test_pagure_lib_add_user_to_project.py: 2 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:1187:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    project.date_modified = datetime.datetime.utcnow()

tests/test_pagure_flask_ui_app.py::PagureFlaskApptests::test_revoke_api_user_token
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_app.py:1845:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    expiration=datetime.datetime.utcnow()

tests/test_pagure_flask_ui_app.py::PagureFlaskApptests::test_revoke_api_user_token
tests/test_pagure_flask_ui_app.py::PagureFlaskApptests::test_revoke_api_user_token
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/ui/app.py:1602:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    if token.expiration >= datetime.datetime.utcnow():

tests/test_pagure_flask_ui_app.py::PagureFlaskApptests::test_revoke_api_user_token
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/ui/app.py:1603:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    token.expiration = datetime.datetime.utcnow()

tests/test_pagure_flask_ui_app.py::PagureFlaskApptests::test_view_my_issues
tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_update_issue
tests/test_pagure_flask_ui_issues_open_access.py::PagureFlaskIssuesOpenAccesstests::test_update_issue
tests/test_pagure_flask_ui_issues_open_access.py::PagureFlaskIssuesOpenAccesstests::test_update_issue
tests/test_pagure_lib.py::PagureLibtests::test_add_issue_assignee
tests/test_pagure_lib.py::PagureLibtests::test_add_issue_assignee
tests/test_pagure_lib.py::PagureLibtests::test_add_issue_comment
tests/test_pagure_lib.py::PagureLibtests::test_edit_comment
tests/test_pagure_lib.py::PagureLibtests::test_get_issue_comment
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:636:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    issue.last_updated = datetime.datetime.utcnow()

tests/test_pagure_flask_ui_fork.py: 3 warnings
tests/test_pagure_flask_ui_pr_no_sources.py: 2 warnings
tests/test_pagure_flask_ui_repo.py: 3 warnings
tests/test_pagure_lib_git.py: 18 warnings
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/git.py:134:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC).
    date=datetime.datetime.utcfromtimestamp(

tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_request_pulls_order
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_fork.py:1547:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    pr_one.updated_on = datetime.utcnow() + timedelta(seconds=2)

tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_git_urls
tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_view_issues
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_issues.py:1040:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    issue_one.last_updated = datetime.utcnow() + timedelta(seconds=2)

tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_update_issue_edit_comment
tests/test_pagure_flask_ui_issues.py::PagureFlaskIssuestests::test_update_issue_edit_comment
tests/test_pagure_flask_ui_issues_open_access.py::PagureFlaskIssuesOpenAccesstests::test_update_issue_edit_comment
tests/test_pagure_flask_ui_issues_open_access.py::PagureFlaskIssuesOpenAccesstests::test_update_issue_edit_comment
tests/test_pagure_lib.py::PagureLibtests::test_edit_comment
tests/test_pagure_lib.py::PagureLibtests::test_edit_comment_private
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:1470:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    comment.edited_on = datetime.datetime.utcnow()

tests/test_pagure_flask_ui_issues_private.py::PagureFlaskIssuesPrivatetests::test_issue_list_authenticated
tests/test_pagure_flask_ui_issues_private.py::PagureFlaskIssuesPrivatetests::test_issue_list_authenticated_assigned
tests/test_pagure_flask_ui_issues_private.py::PagureFlaskIssuesPrivatetests::test_issue_list_authenticated_ticket
tests/test_pagure_flask_ui_issues_private.py::PagureFlaskIssuesPrivatetests::test_issue_list_author
tests/test_pagure_lib.py::PagureLibtests::test_search_issues
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:3095:
 SAWarning: implicitly coercing SELECT object to scalar subquery; please use 
the .scalar_subquery() method to produce a scalar subquery.
    model.Issue.user_id == userprivate,

tests/test_pagure_flask_ui_issues_private.py::PagureFlaskIssuesPrivatetests::test_issue_list_authenticated
tests/test_pagure_flask_ui_issues_private.py::PagureFlaskIssuesPrivatetests::test_issue_list_authenticated_assigned
tests/test_pagure_flask_ui_issues_private.py::PagureFlaskIssuesPrivatetests::test_issue_list_authenticated_ticket
tests/test_pagure_flask_ui_issues_private.py::PagureFlaskIssuesPrivatetests::test_issue_list_author
tests/test_pagure_lib.py::PagureLibtests::test_search_issues
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:3099:
 SAWarning: implicitly coercing SELECT object to scalar subquery; please use 
the .scalar_subquery() method to produce a scalar subquery.
    model.Issue.assignee_id == userprivate,

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_admin_session_timedout
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:1126:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    user.login_time = datetime.datetime.utcnow() - lifetime - td1

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_admin_session_timedout
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:1133:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    user.login_time = datetime.datetime.utcnow() - lifetime + td1

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_do_login
tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_do_login
tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_do_login_and_redirect
tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_non_ascii_password
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/ui/login.py:117:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    now = datetime.datetime.utcnow()

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_do_login
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:313:
 DeprecationWarning: The '__version__' attribute is deprecated and will be 
removed in Flask 3.2. Use feature detection or 
'importlib.metadata.version("flask")' instead.
    if hasattr(flask, "__version__"):

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_do_login
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:314:
 DeprecationWarning: The '__version__' attribute is deprecated and will be 
removed in Flask 3.2. Use feature detection or 
'importlib.metadata.version("flask")' instead.
    flask_v = tuple(int(el) for el in flask.__version__.split("."))

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_force_logout
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/ui/app.py:1680:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    user.refuse_sessions_before = datetime.datetime.utcnow()

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_force_logout
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:1152:
 UserWarning: headers1:Content-Type: text/html; charset=utf-8
  Content-Length: 237
  Location: http://localhost/settings
  Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-A7peeltmtUSJXAERbI3b4hQNz'; style-src 'self' 
'nonce-A7peeltmtUSJXAERbI3b4hQNz'; object-src 'none';base-uri 'self';img-src 
'self' https:;
  Set-Cookie: pagure_local_cookie=; HttpOnly; Path=/
  Vary: Cookie
  Set-Cookie: 
pagure=.eJwNy0EOgyAQRuGrkFm7qERb467naAwZ4IeaIjQMdmO8e1295EveQSYkljeE5tdBql2hDSIcQR09U1Ls2vqDkgvXkkWlEiO8Knuj5Vw6Ml_UjTPy9ba6oyMnNZhWPsg0k4UfvIbjx33s2WvHzg5-mmAxBav1rfeuZ4x0_gFDqC8x.aLoQBw.Z1_RAGJhKL3cJgib1wJlczhGRPA;
 Expires=Sun, 05 Oct 2025 22:17:43 GMT; HttpOnly; Path=/
  
  
    warnings.warn("headers1:"+str(output.headers))

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_force_logout
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:1164:
 UserWarning: headers2:Content-Type: text/html; charset=utf-8
  Content-Length: 16152
  Content-Security-Policy: default-src 'self';script-src 'self' 
'nonce-mnAZuZlKiDwgj0iwT7nG4THgN'; style-src 'self' 
'nonce-mnAZuZlKiDwgj0iwT7nG4THgN'; object-src 'none';base-uri 'self';img-src 
'self' https:;
  Set-Cookie: pagure_local_cookie=; HttpOnly; Path=/
  Vary: Cookie
  Set-Cookie: 
pagure=eyJfcGVybWFuZW50Ijp0cnVlLCJjc3JmX3Rva2VuIjoiYmVkNGQyZWNhNzY1MWFkMmNhY2I0ZDg4ZWJlOGZiMjIwMWRjMWFlNSJ9.aLoQCA.RhmUyxVPz693t0QCnDfAZhnb1Q0;
 Expires=Sun, 05 Oct 2025 22:17:44 GMT; HttpOnly; Path=/
  
  
    warnings.warn("headers2:"+str(output.headers))

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_force_logout
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:1168:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    user.login_time = datetime.datetime.utcnow()

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_lost_password
tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_reset_password
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/ui/login.py:189:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    current_time = datetime.datetime.utcnow()

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_non_ascii_password
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:679:
 DeprecationWarning: The '__version__' attribute is deprecated and will be 
removed in Flask 3.2. Use feature detection or 
'importlib.metadata.version("flask")' instead.
    if hasattr(flask, "__version__"):

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_non_ascii_password
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:680:
 DeprecationWarning: The '__version__' attribute is deprecated and will be 
removed in Flask 3.2. Use feature detection or 
'importlib.metadata.version("flask")' instead.
    flask_v = tuple(int(el) for el in flask.__version__.split("."))

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_settings_admin_session_timedout
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:1093:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    user.login_time = datetime.datetime.utcnow() - lifetime - td1

tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_settings_admin_session_timedout
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_login.py:1112:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    user.login_time = datetime.datetime.utcnow() - lifetime + td1

tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_renew_api_token
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_repo.py:6083:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    print("test started at 
UTC",datetime.datetime.utcnow(),"local",datetime.datetime.now())

tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_renew_api_token
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_repo.py:6147:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    print("now 
UTC",datetime.datetime.utcnow(),"local",datetime.datetime.now(),"token",repo.tokens[0])

tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_revoke_api_token
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/ui/repo.py:2514:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    if token.expiration >= datetime.datetime.utcnow():

tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_revoke_api_token
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/ui/repo.py:2515:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    token.expiration = datetime.datetime.utcnow()

tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_revoke_api_token
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_flask_ui_repo.py:6076:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    datetime.datetime.utcnow().date(),

tests/test_pagure_lib.py::PagureLibtests::test_edit_issue_close_status
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:2152:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    issue.closed_at = datetime.datetime.utcnow()

tests/test_pagure_lib.py::PagureLibtests::test_new_project
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:1757:
 SAWarning: Identity map already had an identity for (<class 
'pagure.lib.model.Project'>, (1,), None), replacing it with newly flushed 
object.   Are there load operations occurring inside of an event handler within 
the flush?
    session.flush()

tests/test_pagure_lib.py::PagureLibtests::test_search_issues
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:3064:
 SAWarning: implicitly coercing SELECT object to scalar subquery; please use 
the .scalar_subquery() method to produce a scalar subquery.
    model.Issue.assignee_id == userassignee

tests/test_pagure_lib.py::PagureLibtests::test_search_pull_requests
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_lib.py:2755:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    dt = datetime.datetime.utcnow()

tests/test_pagure_lib.py::PagureLibtests::test_search_token_single_acls_active
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/query.py:5468:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    model.Token.expiration <= datetime.datetime.utcnow()

tests/test_pagure_lib_git.py::PagureLibGittests::test_update_ticket_from_git
tests/test_pagure_lib_git.py::PagureLibGittests::test_update_ticket_from_git
tests/test_pagure_lib_git.py::PagureLibGittests::test_update_ticket_from_git_close_ticket
tests/test_pagure_lib_git.py::PagureLibGittests::test_update_ticket_from_git_no_priority
tests/test_pagure_lib_git.py::PagureLibGittests::test_update_ticket_from_git_with_boards
tests/test_pagure_lib_git.py::PagureLibGittests::test_update_ticket_from_git_with_boards_twice
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/git.py:579:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC).
    date_created = datetime.datetime.utcfromtimestamp(

tests/test_pagure_lib_git.py::PagureLibGittests::test_update_ticket_from_git
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/git.py:600:
 DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC).
    issue.closed_at = datetime.datetime.utcfromtimestamp(

tests/test_pagure_lib_git_mirror_project.py::PagureLibGitMirrorProjecttests::test_mirror_pull_project
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/git.py:3147:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    logs = ["Run from: %s" % datetime.datetime.utcnow().isoformat()]

tests/test_pagure_lib_model_delete_project.py::DeleteProjectTests::test_delete_project_with_group
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_lib_model_delete_project.py:73:
 SAWarning: DELETE statement on table 'projects_groups' expected to delete 1 
row(s); 0 were matched.  Please set confirm_deleted_rows=False within the 
mapper configuration to prevent this warning.
    self.session.commit()

tests/test_pagure_lib_model_delete_project.py::DeleteProjectTests::test_delete_project_with_user
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/test_pagure_lib_model_delete_project.py:108:
 SAWarning: DELETE statement on table 'user_projects' expected to delete 1 
row(s); 0 were matched.  Please set confirm_deleted_rows=False within the 
mapper configuration to prevent this warning.
    self.session.commit()

tests/test_pagure_lib_task_mirror.py::PagureLibTaskMirrorSetuptests::test_mirror_project
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build/tests/../pagure/lib/tasks_mirror.py:253:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    datetime.datetime.utcnow().isoformat(),

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED 
tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_fork_edit_file
FAILED 
tests/test_pagure_flask_ui_fork.py::PagureFlaskForktests::test_fork_edit_file_namespace
FAILED 
tests/test_pagure_flask_ui_no_master_branch.py::PagureFlaskNoMasterBranchtests::test_view_file
FAILED tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_edit_file
FAILED tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_view_file
FAILED tests/test_pagure_flask_ui_repo.py::PagureFlaskRepotests::test_view_tree
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFiletests::test_view_file_basic_text
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFiletests::test_view_file_empty_file
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFiletests::test_view_file_for_folder
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFiletests::test_view_file_fork_and_edit_logged_in
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFiletests::test_view_file_fork_and_edit_logged_out
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFiletests::test_view_file_nested_file
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFiletests::test_view_file_non_ascii_file
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFileForktests::test_view_file_fork_and_edit_on_a_fork
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFileForktests::test_view_file_fork_and_edit_on_fork_logged_out
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFileForktests::test_view_file_fork_and_edit_on_project
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFileForktests::test_view_file_fork_and_edit_on_your_fork
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFileForktests::test_view_file_in_branch_in_fork
FAILED 
tests/test_pagure_flask_ui_repo_view_file.py::PagureFlaskRepoViewFileForktests::test_view_file_nested_file_in_fork
FAILED 
tests/test_pagure_flask_ui_slash_branch_name.py::PagureFlaskSlashInBranchtests::test_view_file
= 20 failed, 1598 passed, 68 skipped, 45 deselected, 131565 warnings in 
11096.56s (3:04:56) =
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build; python3.13 -m pytest -k 
'not test_style and not test_upload_issue_virus and not 
test_dumping_reloading_ticket and not test_plugin and not test_delete_repo'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: pagure
Source-Version: 5.14.1+dfsg-8
Done: Rebecca N. Palmer <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pagure, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rebecca N. Palmer <[email protected]> (supplier of updated pagure 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 21 Sep 2025 08:17:29 +0100
Source: pagure
Architecture: source
Version: 5.14.1+dfsg-8
Distribution: unstable
Urgency: medium
Maintainer: Rebecca N. Palmer <[email protected]>
Changed-By: Rebecca N. Palmer <[email protected]>
Closes: 1114250
Changes:
 pagure (5.14.1+dfsg-8) unstable; urgency=medium
 .
   * Avoid view_file crash in flask 3.1.2. (Closes: #1114250)
   * Continue to run only some tests in Salsa CI.
   * Update Lintian overrides.
   * Bump Standards-Version to 4.7.2 (no changes needed).
   * Docs: fix grammar.
Checksums-Sha1:
 5e019e4f2fae08d54a7003c35de9f62771e61b58 3652 pagure_5.14.1+dfsg-8.dsc
 c07f46c09885b6cdfa1ab59c4d0adc1dbf310f0f 70448 
pagure_5.14.1+dfsg-8.debian.tar.xz
 ea701b199942d38e8aa1231e3dd4b5dfe55e19c8 7232 
pagure_5.14.1+dfsg-8_source.buildinfo
Checksums-Sha256:
 53ea6f3b963515d18ba5562e87081e970d3724c243d928cfb60ed154015825aa 3652 
pagure_5.14.1+dfsg-8.dsc
 37f6034d0a56f7dd13d1bd6779576c5bc65d87e4975d45906d5c26d2972b35b3 70448 
pagure_5.14.1+dfsg-8.debian.tar.xz
 9aab1a89f3eaa9ef464695d4e96fbf6c7ba462d9617eb018ac8e01bf37a5eb04 7232 
pagure_5.14.1+dfsg-8_source.buildinfo
Files:
 8f2ac3af7908bd626cbc53986af069d3 3652 net optional pagure_5.14.1+dfsg-8.dsc
 a17aee509c82e98475fa573f4bcc022a 70448 net optional 
pagure_5.14.1+dfsg-8.debian.tar.xz
 25efefcbcfda5a40d896ebb313569cf8 7232 net optional 
pagure_5.14.1+dfsg-8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCgA2FiEEZ8sxEAXE7b4yF1MI3uUNDVZ+omYFAmjQNMcYHHJlYmVjY2Ff
cGFsbWVyQHpvaG8uY29tAAoJEN7lDQ1WfqJmVhAP/2K2EuLD2ZumloaoIDfMu2V8
Z8b8fL6IhECjxFEs6Dh8PhZPXOj6aXAEA367HtHm5QT+3+kEI1YAFxP0UXjcqkzS
rerilFTVtXu/t5E1zvNjUIGHP0ph6cR1eU8jAkosEoTKlQ/C6qyai4OuBplCZfYg
wYwIcpCkIqWYfRng7Vuw2NAzAN1nCoMMj2CS1FWe05TsBUUnULhYwjb+NQlFn2K7
+tvZ2fQKvxT8w3v0aqaAeCj4s1/GY7KxGHErGHG+wUVNRgph4oSpFygiyUhxnQfj
VT3E10d831MgmR1r/b3G2lTUB5SPr3744kGYw8eMHxr9YCrypW8zrZHefTOdOTij
63V+Vdbg4vSOjE834Kh4fBgl+I7ncofGeERJBrarb/FT1CRituRo1ncn8wDUXx7M
shzTgFIFbxNCjlIBuP/GALZeiaxASKpxEzcsESnZWLJfq9OX0gzqgpyKWKqu++Hs
gqgt31ksqrJUd1LCKLBTImDb9VPUJr9KPLPxS8zq1KSMW7HIElC7lQqrat+mDb/C
z9ag85ejoqWq+uAfkMlzBOJmO+Y6CW8vWGv3XtCuYQSoJZMsxK9y7bLLWZaVlL08
3c5xq1DSyBXlF+5v5SsLoEen1ZxlmZSyMSBnZ6DOkTUeotl/FdwXeuBTlRw0AUWb
bwdKFQ3yIBnx+jWvnSxz
=V//M
-----END PGP SIGNATURE-----

Attachment: pgp0PDYTSd6VW.pgp
Description: PGP signature


--- End Message ---

Reply via email to