Skip to content

Commit 5addeab

Browse files
authored
push latest element (#279)
1 parent 4861189 commit 5addeab

6 files changed

Lines changed: 522 additions & 3294 deletions

File tree

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,15 @@ jobs:
2222
set -eux
2323
mkdir -p ${ARTIFACTS_PATH}
2424
25-
# Install DevTools
26-
python3 -m venv .venv
27-
source .venv/bin/activate
28-
pip install genesis-devtools
29-
25+
source ~/.profile
3026
VERSION="$(genesis get-version .)"
3127
3228
# Build Genesis Core
3329
genesis build $(pwd) --inventory
3430
3531
# Decode and write the push configuration
3632
echo "$PUSH_CFG" | base64 -d > genesis/genesis.push.yaml
37-
genesis push -c genesis/genesis.push.yaml -t local -f
33+
genesis push -c genesis/genesis.push.yaml -t local -f --latest
3834
3935
# Upload the VM image
4036
gzip -k output/genesis-core.raw -c | \

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: true
4141
matrix:
42-
python-version: ["3.8", "3.10", "3.11", "3.12", "3.13", "3.14"]
42+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
4343
services:
4444
postgresql:
4545
image: postgres:latest

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ readme = "README.md"
55
authors = [{name = "Genesis Corporation", email = "eugene@frolov.net.ru"}]
66
dynamic = ["version"]
77
license = {text = "Apache-2.0"}
8-
requires-python = ">=3.8"
8+
requires-python = ">=3.10"
99
classifiers = [
1010
"Intended Audience :: Developers",
1111
"License :: OSI Approved :: Apache Software License",
1212
"Operating System :: POSIX :: Linux",
1313
"Programming Language :: Python",
1414
"Programming Language :: Python :: 3",
15-
"Programming Language :: Python :: 3.8",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
@@ -37,8 +36,8 @@ dependencies = [
3736
"netaddr>=1.3.0,<2.0.0", # BSD License (BSD License)
3837
"cryptography>=45.0.5,<47.0.0", # BSD-3
3938
"firebase-admin>=6.0.0,<7.0.0", # Apache-2.0
40-
"altcha>=0.2.0,<0.3.0; python_version >= \"3.9\"", # MIT License
41-
"altcha<0.2.0; python_version < \"3.9\"", # MIT License
39+
"altcha>=0.2.0,<0.3.0", # MIT License
40+
"openapi-schema-validator>=0.8.1", # BSD-3
4241
]
4342
[project.urls]
4443
homepage = "https://github.com/infraguys/genesis_core/"
@@ -117,8 +116,8 @@ exclude = [
117116
# Same as Black.
118117
line-length = 88
119118
indent-width = 4
120-
# Assume Python 3.8
121-
target-version = "py38"
119+
# Assume Python 3.10
120+
target-version = "py310"
122121
[lint]
123122
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
124123
select = ["E4", "E7", "E9", "F"]

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
2-
envlist = begin,py3{8,10,11,12,13,14},end
3-
py3{8,10,11,12,13,14}-functional
2+
envlist = begin,py3{10,11,12,13,14},end
3+
py3{10,11,12,13,14}-functional
44
ruff,ruff-check,mypy
55
minversion = 2.0
66
skipsdist = false

0 commit comments

Comments
 (0)