GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Support Python 3.8 in hs_build_address.py

The Python code is such a nice addition to the documentation and the C
code for better understanding of onion v3 address generation. Straight
to the point and easy to understand.

Unfortunately it did not work with my distribution's Python version. I
have adjusted the code to support Python 3.8 (tested with 3.8.6) and
to still be compatible with Python 2.
9 jobs for hs_build_address in 49 minutes and 47 seconds (queued for 46 minutes and 48 seconds)
latest
Status Job ID Name Coverage
  Test
passed #6477
debian-disable-dirauth

00:05:34

passed #6478
debian-disable-relay

00:05:20

passed #6473
debian-distcheck

00:12:14

passed #6474
debian-docs

00:03:50

passed #6472
debian-hardened

00:15:28

failed #6475
debian-integration

00:06:18

passed #6471
debian-minimal

00:08:25

passed #6479
debian-nss

00:10:10

passed #6476
debian-tracing

00:13:08

 
Name Stage Failure
failed
debian-integration Test
ModuleNotFoundError: No module named 'setuptools'
11/28/2020 12:55:17 [DEBUG] System call (failed): /usr/bin/python3 setup.py sdist --dryrun (error: /usr/bin/python3 setup.py sdist --dryrun returned exit status 1)
FATAL ERROR: Failed tests: chutney stem
Uploading artifacts for failed job
Uploading artifacts...
artifacts/: found 2 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=6475 responseStatus=201 Created token=bLF1TgcZ
Cleaning up file based variables
ERROR: Job failed: exit code 1