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

PostGIS trac at osgeo.org
Tue Aug 11 07:52:19 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:
-----------------------------+---------------------------
Comment (by Darafei Praliaskouski <komzpa@…>):

 In [changeset:"369235b92e0d03584916c42bf074cd02122addb9/git" 369235b/git]:
 {{{#!CommitTicketReference repository="git"
 revision="369235b92e0d03584916c42bf074cd02122addb9"
 Merge pull request 'build: skip NEWS unit tests outside Git worktrees'
 (!727) from Komzpa/postgis:codex/ticket-6111-check-news-no-git into master

 Skip the Python NEWS unit tests when the source tree is not a Git
 worktree, while still running the shell NEWS checks that do not require
 Git history. This fixes source package documentation checks in build
 environments where git is absent.

 Patch by Bas Couwenberg.

 Closes https://trac.osgeo.org/postgis/ticket/6111
 Closes #6111

 Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/727
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6111#comment:2>
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