Adopt Python bootstrap conventions, with some deviations
I had to keep the original test folder (which was an integration test) since it involves building the docker image and running a crawl ; it is now in a tests-integration folder which is also excluded from some ruff rules thanks to the custom "tests**/**/*" instead of "tests/**/*" in tool.ruff.per-file-ignores
The Publish jobs are a bit custom since we do not publish to PyPi + we publish both amd64 and arm64 Docker images
Add the --version flag
Docker image is still a bit custom since we need a venv to not interact with browsertrix-crawler Python environment
Migrate to Python 3.11
Upgrade all dependenceis
Adopt a real logger + remove many magic values + some small fixes to match ruff rules
Remove .dockerignore file which seemed to be useless now
Rationale
Fix #271 Fix #234
Changes
test
folder (which was an integration test) since it involves building the docker image and running a crawl ; it is now in atests-integration
folder which is also excluded from some ruff rules thanks to the custom"tests**/**/*"
instead of"tests/**/*"
intool.ruff.per-file-ignores
--version
flagvenv
to not interact with browsertrix-crawler Python environment.dockerignore
file which seemed to be useless now