CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

www/py-django-prometheus 2.5.0

Export Django monitoring metrics for Prometheus.io

Maintainer
kai@FreeBSD.org
Packages
latest: 2.5.0
Upstream
up to date
Last update
to 2.5.0 · 0c8a0d4a94
Quarterly
2026Q4: 2.5.0
WWW
https://github.com/django-commons/django-prometheus
Links
cgit · VuXML

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 2.5.0.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (24)

Kai Knoblich (kai) · 2.5.0
www/py-django-prometheus: Update to 2.5.0

Changelog:

https://github.com/django-commons/django-prometheus/releases/tag/v2.5.0
0c8a0d4a94
Kai Knoblich (kai) · 2.4.1_1
*: Switch consumers over to Django 5.2

Django 4.2 reached its End-of-Life on 7th April 2026 and Django 5.2 is
the new LTS (= Long Term Support) release which will be supported until
April 2028.

* Switch most ports that use www/py-django42 to www/py-django52.

* Where necessary, remove PORTSCOUT, which is no longer needed because
  an update to a newer version that no longer supports Django 4.2 should
  now be possible.

* Bump PORTREVISION due dependency change where necessary.

PR:		291707
Reviewed by:	sunpoet (python)
Differential Revision:	https://reviews.freebsd.org/D56966
ce59801b72
Kai Knoblich (kai) · 2.4.1
www/py-django-prometheus: Update to 2.4.1

* Update WWW to point to new upstream repository.
* Pet portclippy while I'm here.

Changelog:

https://github.com/django-commons/django-prometheus/releases/tag/v2.4.1
e9f7555b23
Kai Knoblich (kai) · 2.3.1_2
www/py-django-prometheus: Convert to PEP517

* Switch to the PEP517 build framework and remove py-pytest-runner as a
  build time dependency while I'm here, because upstream of it has
  archived the project with the following notice:

  pytest-runner depends on deprecated features of setuptools and relies
  on features that break security mechanisms in pip. For example
  'setup_requires' and 'tests_require' bypass pip --require-hashes.
  See also https://github.com/pypa/setuptools/issues/1684

* Bump PORTREVISION due package change.
5f45571141
Kai Knoblich (kai) · 2.3.1_1
*: Switch consumers over to Django 4.2

Django 3.2 reached its End-of-Life on 1st April 2024 and Django 4.2 is
the new LTS (= Long Term Support) release which will be supported until
April 2026.

* Switch most ports that use www/py-django32 to www/py-django42.

* Ports that are not compatible with Django 3.2 have already been set
  with an expiration date were not taken into account.

* Bump PORTREVISION due dependency change where necessary.

PR:		276319
Reviewed by:	dvl, grembo, ultima
Approved by:	bofh (implicit), dvl, grembo, Kevin Golding, sunpoet,
		ultima, maintainer timeout (remaining maintainers)
Differential Revision:	https://reviews.freebsd.org/D44637
680c68fd4d
Rene Ladan (rene) · 2.3.1
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Kai Knoblich (kai) · 2.3.1
www/py-django-prometheus: Update to 2.3.1

* Add test suite while I'm here.

Changelog since 2.2.0:

https://github.com/korfuri/django-prometheus/blob/v2.3.1/CHANGELOG.md
9090bf93b6
Dmitry Marakasov (amdmi3) · 2.2.0_1
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
77d68471ad
Stefan Eßer (se) · 2.2.0_1
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 2.2.0_1
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Kai Knoblich (kai) · 2.2.0_1
net-mgmt/netbox: Create Django 4.0 consumers

* Django 3.2 is currently the "default" version in the ports tree due
  its long term support until April 2024.  Thus ports that are assigned
  to that version will exist until then.

  The following ports are required to make the upgrade of
  net-mgmt/netbox to the 3.2 release possible because it requires Django
  4.0.

  All of the ports listed below were created on the basis of their
  respective original ports:

  - devel/py-dj40-django-rq
  - devel/py-dj40-graphene-django
  - www/py-dj40-django-auth-ldap
  - www/py-dj40-django-cors-headers
  - www/py-dj40-django-debug-toolbar
  - www/py-dj40-django-filter
  - www/py-dj40-django-graphiql-debug-toolbar
  - www/py-dj40-django-js-asset
  - www/py-dj40-django-mptt
  - www/py-dj40-django-prometheus
  - www/py-dj40-django-redis
  - www/py-dj40-django-tables2
  - www/py-dj40-django-taggit
  - www/py-dj40-django-timezone-field
  - www/py-dj40-djangorestframework
  - www/py-dj40-drf-yasg

* Simplify the related CONFLICTS_INSTALL entries as well.  This also
  reduces editing of the Makefiles if another ports need to be
  "repo-copied" (e.g. for Django 4.1) based on the original ports in the
  future. [1]

Reviewed by:	se [1], sunpoet
Differential Revision:	https://reviews.freebsd.org/D35444
89acacbfee
Kai Knoblich (kai) · 2.2.0_1
www/py-django32: Switch consumers over to Django 3.2

Django 2.2 became End-of-Life on 11th April 2022 and Django 3.2 is the
new LTS (= Long Term Support) release which will be supported until
April 2024.

* Switch the most ports that use www/py-django22 to www/py-django32

* Switch www/seahub over to www/py-djangorestframework

* Ports that are not yet ready for Django 3.2 (only three so far) or
  those that have already been set with an expiration date were not
  taken into account.

* Bump PORTREVISION due dependency change where necessary.

PR:		261313
Reviewed by:	bofh, dvl, koobs, ultima
Approved by:	bofh, dvl, koobs, ultima, sunpoet, Kevin Golding, Ivan Rozhuk,
		Alexander Sieg (maintainers)
		maintainer timeout (remaining maintainers)
Differential Revision:	https://reviews.freebsd.org/D34859
0cf5531fcd
Kai Knoblich (kai) · 2.2.0
www/py-django-prometheus: Update to 2.2.0

Changelog:

https://github.com/korfuri/django-prometheus/blob/v2.2.0/CHANGELOG.md

MFH:		2022Q1
3ce5c520b3
Kai Knoblich (kai) · 2.1.0
*: Create Django 3.2 ports for net-mgmt/netbox

* Django 2.2 is currently the "default" version in the ports tree due
  its long term support until April 2022.  Thus ports that are assigned
  to that version will exist until then.

  The following ports are required to make the upgrade of
  net-mgmt/netbox to the 2.11 release possible because it requires
  Django 3.2.  All of the ports listed below were created on the basis
  of their respective original ports:

  - devel/py-dj32-django-rq
  - www/py-dj32-django-auth-ldap
  - www/py-dj32-django-cacheops (updated to a newer release)
  - www/py-dj32-django-cors-headers
  - www/py-dj32-django-debug-toolbar
  - www/py-dj32-django-filter
  - www/py-dj32-django-js-asset
  - www/py-dj32-django-mptt
  - www/py-dj32-django-prometheus
  - www/py-dj32-django-redis
  - www/py-dj32-django-tables2 (updated to a newer release)
  - www/py-dj32-django-taggit (updated to a newer release)
  - www/py-dj32-django-timezone-field
  - www/py-dj32-djangorestframework
  - www/py-dj32-drf-yasg

* Add/update the related CONFLICTS_INSTALL entries as well.

Reviewed by:	koobs, sunpoet
Differential Revision:	https://reviews.freebsd.org/D30977
fd76d1a577
Mathieu Arnold (mat) · 2.1.0
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 2.1.0
Remove # $FreeBSD$ from Makefiles.
305f148f48
Kai Knoblich (kai) · 2.1.0
www/py-django-prometheus: Update to 2.1.0

Changelog:

https://github.com/korfuri/django-prometheus/blob/2.1.0/CHANGELOG.md
2ba6295019
Kai Knoblich (kai) · 2.0.0
Create some ports that are assigned to Django 3.1 instead Django 2.2

* Django 2.2 is currently the "default" version in the ports tree due its
  long term support until April 2022.  Thus ports that are assigned to that
  version will exist until then.

  The following ports are required to make the upgrade of net-mgmt/netbox to
  the 2.9 release possible because it requires Django 3.1 and provides no
  backwards compatibility for previous versions of Django.

  - www/py-dj31-django-rq
      (copied from r539662 to use the 2.3.2 release for now)
  - www/py-dj31-django-auth-ldap
  - www/py-dj31-django-cacheops
  - www/py-dj31-django-cors-headers
  - www/py-dj31-django-debug-toolbar
  - www/py-dj21-django-filter
  - www/py-dj31-django-js-asset
  - www/py-dj31-django-mptt
  - www/py-dj31-django-prometheus
  - www/py-dj31-django-redis
  - www/py-dj31-django-tables2
  - www/py-dj31-django-taggit
  - www/py-dj31-django-timezone-field
  - www/py-dj31-djangorestframework
  - www/py-dj31-drf-yasg

* Also limit the new ports to Python 3.6+ due the requirements of Django 3.1
  and add/update the related CONFLICTS_INSTALL entries.

Reviewed by:	sunpoet
Differential Revision:	https://reviews.freebsd.org/D27083
a0f4c73ff7
Kai Knoblich (kai) · 2.0.0
www/py-django-prometheus: Update to 2.0.0

Changelog:

https://github.com/korfuri/django-prometheus/blob/2.0.0/CHANGELOG.md
25e17ec92c
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.1.0_2
Update to 4.11.0

- Update RUN_DEPENDS: use Django 2.2
- Mark www/py-dj22-django-redis as DEPRECATED
- Update www/py-django-prometheus:
  - Change RUN_DEPENDS from py-dj22-django-redis to py-django-redis
  - Bump PORTREVISION for dependency change

Changes:	https://github.com/jazzband/django-redis/releases
		https://github.com/jazzband/django-redis/blob/master/CHANGES.rst
PR:		245522
Submitted by:	kai
52d251013c
Kai Knoblich (kai) · 1.1.0_1
Assign some ports I maintain from Django 1.11 to Django 2.2

Django 1.11 is End-of-Life since April 2020 thus switch the following ports
to Django 2.2 (which has LTS support until April 2022):

* www/py-django-auth-ldap
* www/py-django-cacheops
* www/py-django-filter
* www/py-django-prometheus

Adjust the required Python version as Django 2.2 needs at least Python 3.5+
and bump the PORTREVISION for package change.

Mark the related py-dj22-* port variants as DEPRECATED because they're
obsolete now.  Don't set an expiration date yet as they're still used by
some consumers and a few more Django 1.11 ports need to be assigned to
Django 2.2 first.
4d0390d090
Kai Knoblich (kai) · 1.1.0
www/py-django-prometheus: Update to 1.1.0

Changelog:

* Maintenance release that updates the definitions of the supported Django
  and Python versions.
* Drop support for Django 1.8, 2.0 and Python 3.3, 3.4
882940c002
Kai Knoblich (kai) · 1.0.15
New port: www/py-dj22-django-prometheus

Repocopy www/py-django-prometheus and assign it to Django 2.2. That port
will be required for the upcoming update of net-mgmt/netbox to 2.6.

Also limit the port to Python 3.5+ as Django 2.2 requires it as minimum
dependency and add the related CONFLICTS_INSTALL entries.
58d5a18fa5
Kai Knoblich (kai) · 1.0.15
New port: www/py-django-prometheus

This library exports Django monitoring metrics for Prometheus.io.

It provides support to monitor the following databases types:

* SQLite (via Django)
* PostgreSQL
* MySQL

In addition, caches can also be monitored:

* memcached
* Redis

It's even possible to export metrics of Django models and migrations.

WWW: https://github.com/korfuri/django-prometheus

Approved by:	mentors (implicit)
d1c99b75eb