Merge branch 'main' into probe-scraper-ci
This commit is contained in:
Коммит
74967e1a4b
|
@ -7,7 +7,7 @@ orbs:
|
|||
jobs:
|
||||
run_checks:
|
||||
docker:
|
||||
- image: python:3.7
|
||||
- image: python:3.10
|
||||
working_directory: ~/burnham/application
|
||||
parameters:
|
||||
tox_env:
|
||||
|
@ -33,7 +33,7 @@ workflows:
|
|||
name: Run checks << matrix.tox_env >> 🤖
|
||||
matrix:
|
||||
parameters:
|
||||
tox_env: ["black", "flake8", "mypy", "glinter", "py37"]
|
||||
tox_env: ["black", "flake8", "mypy", "glinter", "py310"]
|
||||
filters:
|
||||
tags:
|
||||
# Only run this for tags using version identifiers (YY.MINOR.MICRO)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.7-slim-buster as wheels
|
||||
FROM python:3.10-slim-buster as wheels
|
||||
|
||||
LABEL maintainer "Raphael Pierzina <raphael@hackebrot.de>"
|
||||
|
||||
|
@ -12,7 +12,7 @@ RUN python -m pip install --upgrade --no-cache-dir \
|
|||
RUN python -m pip wheel -w /wheels -r requirements.txt
|
||||
RUN python -m pip wheel -w /wheels --no-deps .
|
||||
|
||||
FROM python:3.7-slim-buster
|
||||
FROM python:3.10-slim-buster
|
||||
|
||||
LABEL maintainer "Raphael Pierzina <raphael@hackebrot.de>"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[mypy]
|
||||
python_version=3.7
|
||||
python_version=3.10
|
||||
follow_imports=normal
|
||||
ignore_missing_imports=True
|
||||
disallow_untyped_calls=True
|
||||
|
|
|
@ -32,7 +32,7 @@ setuptools.setup(
|
|||
include_package_data=True,
|
||||
package_data={"burnham": ["config/*.yaml"]},
|
||||
zip_safe=False,
|
||||
python_requires=">=3.7",
|
||||
python_requires=">=3.8",
|
||||
install_requires=["click>=7.0", "glean-sdk>=32.3.1", "wrapt", "typing_extensions"],
|
||||
classifiers=[
|
||||
"Development Status :: 3 - Alpha",
|
||||
|
@ -40,7 +40,9 @@ setuptools.setup(
|
|||
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python",
|
||||
"Topic :: Software Development :: Testing",
|
||||
],
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[tox]
|
||||
envlist = black, flake8, mypy, glinter, py37
|
||||
envlist = black, flake8, mypy, glinter, py310
|
||||
isolated_build = False
|
||||
|
||||
[testenv]
|
||||
# Use Python 3.7 for all test environments
|
||||
basepython = python3.7
|
||||
# Use Python 3.10 for all test environments
|
||||
basepython = python3.10
|
||||
|
||||
# Do not install burnham
|
||||
skip_install = True
|
||||
|
@ -12,7 +12,6 @@ skip_install = True
|
|||
# We use pip-tools to install compatible packages
|
||||
deps = pip-tools
|
||||
|
||||
[testenv:py37]
|
||||
commands_pre =
|
||||
# Install the pinned burnham and development requirements
|
||||
pip-sync {toxinidir}/requirements.txt {toxinidir}/dev-requirements.txt
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.7-slim-buster
|
||||
FROM python:3.10-slim-buster
|
||||
|
||||
LABEL maintainer "Raphael Pierzina <raphael@hackebrot.de>"
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
google-cloud-bigquery==1.20.0
|
||||
pytest==5.4.1
|
||||
google-cloud-bigquery==3.1.0
|
||||
pytest==6.2.5
|
||||
pytest-md==0.2.0
|
||||
|
|
Загрузка…
Ссылка в новой задаче