[PostGIS] #6111: Don't run test_check_news.py when not using git

PostGIS trac at osgeo.org
Tue Aug 11 07:52:18 PDT 2026


#6111: Don't run test_check_news.py when not using git
-----------------------------+---------------------------
  Reporter:  Bas Couwenberg  |      Owner:  robe
      Type:  defect          |     Status:  closed
  Priority:  medium          |  Milestone:  PostGIS 3.7.0
 Component:  documentation   |    Version:  master
Resolution:  fixed           |   Keywords:
-----------------------------+---------------------------
Changes (by Darafei Praliaskouski <me@…>):

 * resolution:   => fixed
 * status:  new => closed

Comment:

 In [changeset:"b45a1f078a93b84ef5dc95685e408b5970a4e71a/git" b45a1f0/git]:
 {{{#!CommitTicketReference repository="git"
 revision="b45a1f078a93b84ef5dc95685e408b5970a4e71a"
 build: skip NEWS unit tests outside Git worktrees

 The NEWS Python unit tests create temporary Git repositories, so release-
 tarball builds without git cannot run them. Skip those unit tests when the
 source tree is not a Git worktree, while still running the shell NEWS
 checks that do not need Git history.

 Closes #6111
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6111#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list