# layer:basic # pip is pinned to <19.0 to avoid https://github.com/pypa/pip/issues/6164 # even with installing setuptools before upgrading pip ends up with pip seeing # the older setuptools at the system level if include_system_packages is true # pip>=18.1,<19.0;python_version < '3.8' # overridden by kubernetes-control-plane # https://github.com/juju-solutions/layer-basic/issues/201 # pip<22.1;python_version >= '3.8' # overridden by kubernetes-control-plane # pin Jinja2, PyYAML and MarkupSafe to the last versions supporting python 3.5 # for trusty Jinja2==2.10;python_version >= '3.0' and python_version <= '3.4' # py3 trusty Jinja2==2.11;python_version == '2.7' or python_version == '3.5' # py27, py35 Jinja2;python_version >= '3.6' # py36 and on # Cython is required to build PyYAML. To find out the supported versions check # https://github.com/cython/cython/issues/2800 Cython PyYAML==5.2;python_version >= '3.0' and python_version <= '3.4' # py3 trusty PyYAML<5.4;python_version == '2.7' or python_version <= '3.6' # xenial and bionic PyYAML<7.0.0;python_version >= '3.7' # >= focal MarkupSafe<2.0.0;python_version < '3.6' MarkupSafe<2.1.0;python_version == '3.6' # Just for python 3.6 MarkupSafe;python_version >= '3.7' # newer pythons setuptools<42;python_version < '3.8' # https://github.com/juju-solutions/layer-basic/issues/201 setuptools<62.2.0;python_version >= '3.8' setuptools-scm<=1.17.0;python_version < '3.8' # https://github.com/pypa/setuptools_scm/issues/722 setuptools-scm<7;python_version >= '3.8' # flit_core;python_version >= '3.8' # overridden by kubernetes-control-plane # charmhelpers>=0.4.0,<2.0.0 # overridden by kubernetes-control-plane charms.reactive>=0.1.0,<2.0.0 wheel<0.34;python_version < '3.8' wheel;python_version >= '3.8' # pin netaddr to avoid pulling importlib-resources netaddr<=0.7.19 # layer:snap # Newer versions of tenacity rely on `typing` which is in stdlib in # python3.5 but not python3.4. We want to continue to support # python3.4 (Trusty) tenacity<5.0.4 # layer:vault-kv hvac # needed to prevent apt installs during import netifaces # psutil # overridden by kubernetes-control-plane # needed to build hvac wheel poetry-core>=1.0.0 # needed as a dep of hvac # it comes with a useful compatibility listing # Lifted from https://github.com/jaraco/zipp#compatibility zipp<1.0;python_version < '3.8' zipp<3.3;python_version < '3.9' zipp<3.5;python_version < '3.11' zipp<3.9;python_version < '3.12' # kubernetes-control-plane aiohttp>=3.7.4,<3.8.0 gunicorn>=20.0.0,<21.0.0 loadbalancer-interface typing_extensions<4.0 git+https://github.com/juju/charm-helpers.git#egg=charmhelpers # idna>=3.4 and beyond (needed by aiohttp and hvac) # requires flit-core for building its wheel. # # flit-core can run on python3.6, but requires pip # be upgraded to at least 20.0.2 (same as on focal) # flit-core<4 pip==20.0.2 # necessary for bionic # psutil>=5.9.3 added requirement of setuptools>=43 # # layer-basic pins-back pip and setuptools # for full compatability with bionic psutil==5.9.2 # avoid ops 2.1.0 which had a broken setup that kills pip ops!=2.1.0 # attrs>=23.1.0, urllib3<=2.0.0 have a build dependency on hatchling, calver, et al # rather than pulling in a list of new deps, pin these attrs<23.1.0 urllib3<2.0.0