Skip to content

Commit

Permalink
autoupgrade python (exclude netbox-agent for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmarino committed Jan 8, 2025
1 parent d3ebf69 commit 5576bae
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 37 deletions.
2 changes: 1 addition & 1 deletion bucket_0A/python-botocore/distinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f94ae1e056a675bd67c8af98a6858d06e3927d974d6c712ed6e27bb1d11bee1d 13300322 python-src/botocore-1.35.92-py3-none-any.whl
d784d944865d8279c79d2301fc09ac28b5221d4e7328fb4e23c642c253b9932c 13288888 python-src/botocore-1.35.94-py3-none-any.whl
4 changes: 2 additions & 2 deletions bucket_0A/python-botocore/specification
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEF[PORTVERSION]= 1.35.92
DEF[PORTVERSION]= 1.35.94
# ------------------------------------------------------------------------

NAMEBASE= python-botocore
Expand All @@ -11,7 +11,7 @@ HOMEPAGE= https://github.com/boto/botocore
CONTACT= Python_Automaton[[email protected]]

DOWNLOAD_GROUPS= main
SITES[main]= PYPIWHL/a6/6f/015482b4bb28e9edcde97b67ec2d40f84956e1b8c7b22254f58a461d357d
SITES[main]= PYPIWHL/d1/96/beed2b47b1739e5c7637ae4d7ee0e524e480135dfdc398b46cb84c004b99
DISTFILE[1]= botocore-${PORTVERSION}-py3-none-any.whl:main
DIST_SUBDIR= python-src

Expand Down
2 changes: 1 addition & 1 deletion bucket_0D/python-pymdown-extensions/distinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
80bc33d715eec68e683e04298946d47d78c7739e79d808203df278ee8ef89428 264108 python-src/pymdown_extensions-10.13-py3-none-any.whl
202481f716cc8250e4be8fce997781ebf7917701b59652458ee47f2401f818b5 264264 python-src/pymdown_extensions-10.14-py3-none-any.whl
6 changes: 3 additions & 3 deletions bucket_0D/python-pymdown-extensions/specification
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEF[PORTVERSION]= 10.13
DEF[PORTVERSION]= 10.14
# ------------------------------------------------------------------------

NAMEBASE= python-pymdown-extensions
Expand All @@ -11,7 +11,7 @@ HOMEPAGE= https://github.com/facelessuser/pymdown-extensions
CONTACT= Python_Automaton[[email protected]]

DOWNLOAD_GROUPS= main
SITES[main]= PYPIWHL/86/7f/46c7122186759350cf523c71d29712be534f769f073a1d980ce8f095072c
SITES[main]= PYPIWHL/00/ae/55d347eda5a4c57a2a042fe2e7616d14981115f566b9f8f69901aba3c0c6
DISTFILE[1]= pymdown_extensions-${PORTVERSION}-py3-none-any.whl:main
DIST_SUBDIR= python-src

Expand All @@ -32,7 +32,7 @@ DISTNAME= pymdown_extensions-${PORTVERSION}.dist-info
# Requires-Dist extracted from wheel metadata
# markdown>=3.6
# pyyaml
# pygments>=2.12; extra == 'extra'
# pygments>=2.19.1; extra == 'extra'

[PY312].USES_ON= python:v12,wheel
[PY312].RUN_DEPENDS_ON= python-Markdown:single:v12
Expand Down
2 changes: 1 addition & 1 deletion bucket_30/python-python-gnupg/distinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2f8a4c6f63766feca6cc1416408f8b84e1b914fe7b54514e570fc5cbe92e9248 21607 python-src/python_gnupg-0.5.3-py2.py3-none-any.whl
40ce25cde9df29af91fe931ce9df3ce544e14a37f62b13ca878c897217b2de6c 21730 python-src/python_gnupg-0.5.4-py2.py3-none-any.whl
4 changes: 2 additions & 2 deletions bucket_30/python-python-gnupg/specification
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEF[PORTVERSION]= 0.5.3
DEF[PORTVERSION]= 0.5.4
# ------------------------------------------------------------------------

NAMEBASE= python-python-gnupg
Expand All @@ -11,7 +11,7 @@ HOMEPAGE= https://github.com/vsajip/python-gnupg
CONTACT= Python_Automaton[[email protected]]

DOWNLOAD_GROUPS= main
SITES[main]= PYPIWHL/38/67/ea9e551fcc684fe5119e5355920c69ac9332afdd1691a472a38528dd9a3c
SITES[main]= PYPIWHL/7b/5b/6666ed5a0d3ce4d5444af62e373d5ba8ab253a03487c86f2f9f1078e7c31
DISTFILE[1]= python_gnupg-${PORTVERSION}-py2.py3-none-any.whl:main
DIST_SUBDIR= python-src

Expand Down
2 changes: 1 addition & 1 deletion bucket_85/python-Pygments/distinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4755e6e64d22161d5b61432c0600c923c5927214e7c956e31c23923c89251a9b 1225305 python-src/pygments-2.19.0-py3-none-any.whl
9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c 1225293 python-src/pygments-2.19.1-py3-none-any.whl
4 changes: 2 additions & 2 deletions bucket_85/python-Pygments/specification
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEF[PORTVERSION]= 2.19.0
DEF[PORTVERSION]= 2.19.1
# ------------------------------------------------------------------------

NAMEBASE= python-Pygments
Expand All @@ -11,7 +11,7 @@ HOMEPAGE= https://pygments.org
CONTACT= Python_Automaton[[email protected]]

DOWNLOAD_GROUPS= main
SITES[main]= PYPIWHL/20/dc/fde3e7ac4d279a331676829af4afafd113b34272393d73f610e8f0329221
SITES[main]= PYPIWHL/8a/0b/9fcc47d19c48b59121088dd6da2488a49d5f72dacf8262e2790a1d2c7d15
DISTFILE[1]= pygments-${PORTVERSION}-py3-none-any.whl:main
DIST_SUBDIR= python-src

Expand Down
2 changes: 1 addition & 1 deletion bucket_AE/python-nb-service/distinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ca562a8b2ecc532d18c3465dc2d6c3ba035c025e0dde8ba9afe2fbecfa7788a9 1011602 python-src/nb_service-4.0.1-py3-none-any.whl
a773ba90f908800003e2d981fda0cd6654feadbf49f9249f7f0d9b7647cd75e8 1011587 python-src/nb_service-4.2.0-py3-none-any.whl
4 changes: 2 additions & 2 deletions bucket_AE/python-nb-service/specification
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEF[PORTVERSION]= 4.0.1
DEF[PORTVERSION]= 4.2.0
# ------------------------------------------------------------------------

NAMEBASE= python-nb-service
Expand All @@ -11,7 +11,7 @@ HOMEPAGE= https://github.com/renatoalmeidaoliveira/nbservice
CONTACT= Python_Automaton[[email protected]]

DOWNLOAD_GROUPS= main
SITES[main]= PYPIWHL/73/e6/89affa67ec81c5af2f968c1abf14eaf2131272c3a78ee876348cd412e0fa
SITES[main]= PYPIWHL/3a/d3/d72bbdd41cd960e8edf1fcf3b810a854b1dd4fe8b9eeb55a1807c8c1bf6a
DISTFILE[1]= nb_service-${PORTVERSION}-py3-none-any.whl:main
DIST_SUBDIR= python-src

Expand Down
20 changes: 6 additions & 14 deletions bucket_B2/python-netbox-config-backup/descriptions/desc.single
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,12 @@ is 1800 (30 minutes) or 3600 (1 hr)
}
```
3. Migrate: `python3 netbox/manage.py migrate`
4. Copy /etc/systemd/system/netbox-rq.service to
/etc/systemd/system/ncb-rq\@.service
5. Edit: /etc/systemd/system/ncb-rq\@.service:
ExecStart:
```
ExecStart=/opt/netbox/venv/bin/python3 /opt/netbox/netbox/manage.py
rqworker --name ncb@%i --with-scheduler netbox_config_backup.jobs
```
6. Reload systemd: `systemctl daemon-reload`
7. Enable the service with x number of workers: `systemctl enable
ncb-rq@{1..10}` (This will generate 10 worker symlinks to auto start)
8. Start the service with x number of workers: `systemctl start
ncb-rq@{1..10}` (This will start 10 workers)
9. Create your first device backup
4. Create your first device backup

### Cleanup Old Version

If you are coming from an older version, please remove the custom RQ worker
as it is no longer required

## Logging

Expand Down
2 changes: 1 addition & 1 deletion bucket_B2/python-netbox-config-backup/distinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9d1665912abc3abfff55b5975a4fa5cfebd33e474531086f7255d8a2989b798a 54878 python-src/netbox_config_backup-2.1.1-py3-none-any.whl
8bd169631a1abea8c3d7883df8b83be6a5eb30a5fb3d1ff37c3b6e0a6aa24157 57980 python-src/netbox_config_backup-2.1.2-py3-none-any.whl
4 changes: 2 additions & 2 deletions bucket_B2/python-netbox-config-backup/specification
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEF[PORTVERSION]= 2.1.1
DEF[PORTVERSION]= 2.1.2
# ------------------------------------------------------------------------

NAMEBASE= python-netbox-config-backup
Expand All @@ -11,7 +11,7 @@ HOMEPAGE= none
CONTACT= Python_Automaton[[email protected]]

DOWNLOAD_GROUPS= main
SITES[main]= PYPIWHL/87/70/3cc6626999f24812a9e5975b677b87da9cd1bf34160bfc8eca614808e26f
SITES[main]= PYPIWHL/d9/bf/494b071f2e848dc294593a9b77c384910dad192095886196e5bea6fd5d8f
DISTFILE[1]= netbox_config_backup-${PORTVERSION}-py3-none-any.whl:main
DIST_SUBDIR= python-src

Expand Down
2 changes: 1 addition & 1 deletion bucket_D9/python-boto3/distinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
786930d5f1cd13d03db59ff2abbb2b7ffc173fd66646d5d8bee07f316a5f16ca 139179 python-src/boto3-1.35.92-py3-none-any.whl
516c514fb447d6f216833d06a0781c003fcf43099a4ca2f5a363a8afe0942070 139179 python-src/boto3-1.35.94-py3-none-any.whl
6 changes: 3 additions & 3 deletions bucket_D9/python-boto3/specification
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEF[PORTVERSION]= 1.35.92
DEF[PORTVERSION]= 1.35.94
# ------------------------------------------------------------------------

NAMEBASE= python-boto3
Expand All @@ -11,7 +11,7 @@ HOMEPAGE= https://github.com/boto/boto3
CONTACT= Python_Automaton[[email protected]]

DOWNLOAD_GROUPS= main
SITES[main]= PYPIWHL/4e/9d/0f7ecfea26ba0524617f7cfbd0b188d963bbc3b4cf2d9c3441dffe310c30
SITES[main]= PYPIWHL/bc/92/feef9296bfa54335a30c19ff4dcfffc6a76601da1f9b6380962df92d0ac3
DISTFILE[1]= boto3-${PORTVERSION}-py3-none-any.whl:main
DIST_SUBDIR= python-src

Expand All @@ -30,7 +30,7 @@ GENERATED= yes
DISTNAME= boto3-${PORTVERSION}.dist-info

# Requires-Dist extracted from wheel metadata
# botocore (<1.36.0,>=1.35.92)
# botocore (<1.36.0,>=1.35.94)
# jmespath (<2.0.0,>=0.7.1)
# s3transfer (<0.11.0,>=0.10.0)
# botocore[crt] (<2.0a0,>=1.21.0) ; extra == 'crt'
Expand Down

0 comments on commit 5576bae

Please sign in to comment.