simplestreams:drop-py2-packages

Last commit made on 2019-11-26
Get this branch:
git clone -b drop-py2-packages https://git.launchpad.net/simplestreams
Members of simplestreams-dev can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
drop-py2-packages
Repository:
lp:simplestreams

Recent commits

8995610... by Dan Watkins

enable tox to specify the Python version to use in sign-examples

The shebang of js2signed has been updated to Python 3, which means that
sign-examples now runs it using Python 3 by default. sign-examples is
used to setup the tox tests, which means that this change caused the
Python 2 tox environment to fail. As sign-examples is a shell wrapper
for the js2signed Python script, we can't simply invoke it using the
correct Python executable. So, instead, we add the SS_PYTHON
environment variable which allows us to specify which Python executable
to use (whilst still defaulting to using the default shebang if it isn't
set).

9318ca0... by Dan Watkins

tools/js2signed: change shebang to /usr/bin/env python3

Previously it was using Python 2. This change is to enable Python
3-only package builds.

408a305... by Paride Legovini

debian: run the tests only against Python 3

890b9f0... by Dan Watkins

debian: stop building Python 2 package

ba75825... by Stéphane Graber

Add combined_disk1-img_sha256 to download.json

This introduces a new combined_disk1-img_sha256 field for the
"lxd.tar.xz" file type in download entries.

21782a0... by Philip Roche

Apply filters to items before filtering versions

Filters were applied to versions before being applied to
items which meant if you were using --max option then
you often were not getting the expected output as the
version filter was filtering out the expected items.

This happens if there is a version greater than the version
of the item you expect despite the fact that the item
with the greater version never passing your supplied
filters.

cf14265... by Pat Viafore

Add KVM images to eoan.

Added kvm images (suffixed with -disk-kvm.img).
Streams are filtered so that only 06/22/19 Eoan builds
(or later) show up in streams.

409fdc1... by Scott Moser

tools: rename export-tarball to make-tarball.

make-tarball is the name of this utility in cloud-init and curtin.
Rename it here for consistency.

f57d5a4... by Scott Moser

Do not run flake8 during 'make test', remove 'trusty-flake8' tox env.

Previously 'make test' would run flake8. That meant that during
a package build a flake8 failure would cause package failure.

We do not really care about flake8 errors (primarily style) at that
point. Rather, upstream has picked versions of
flake8, pycodestyle, and pyflakes that it will ensure code is good with.

Along that same line, there is no need for the tox 'trusty-flake8'
environment which was present to catch those errors before a package
build on trusty.

The changes here mean that 'make test' won't run flake8. Note,
make can still be explicitly invoked with 'flake8' target.

99ba3f2... by Alex Kavanagh

Add SSL support to simplestreams/openstack.py

This change enables the openstack integration to connect to https
OpenStack endpoints by using the OS_CACERT environement variable.

LP: #1802407