pytz: Timezone definitions for Python - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# pytz: Timezone definitions for Python

## Description

World Timezone Definitions for Python See https://pypi.org/project/pytz/

## Special Update/Build Instructions

The upstream tarball was repackaged after sanitizing the file permissions with

$ chmod go-w

## Type

standard

## Dependencies

- $(PYTHON)

- $(PYTHON_TOOLCHAIN)

## Version Information

package-version.txt:

    2025.2

version_requirements.txt:

    pytz >=2020.1

## Equivalent System Packages

Arch Linux

    $ sudo pacman -S python-pytz

conda-forge

    $ conda install pytz

Debian/Ubuntu

    $ sudo apt-get install python3-tz

Fedora/Redhat/CentOS

    $ sudo dnf install python3-pytz

Gentoo Linux

    $ sudo emerge dev-python/pytz

MacPorts

    $ sudo port install py-tz

openSUSE

    $ sudo zypper install python3\$\{PYTHON_MINOR\}-pytz

Void Linux

    $ sudo xbps-install python3-pytz

See https://repology.org/project/python:pytz/versions

If the system package is installed and if the (experimental) option `--enable-system-site-packages` is passed to `./configure`, then `./configure` will check if the system package can be used.