Comments (4)
So I found more details.
In old requirements.txt, we are finding django-rq but nothing about rq.
rq 1.3.x is working with django-rq 2.2.x
rq 1.4.x is working with django-rq 2.3.x
Putting this in my variable works for netbox 2.7.x:
netbox_pip_constraints:
# Blacklist pynacl 1.3.0 due to https://github.com/pyca/pynacl/issues/479
- 'pynacl!=1.3.0'
# Blacklist rq 1.3.0 due to https://github.com/rq/django-rq/issues/421
# https://github.com/netbox-community/netbox/issues/4633
- 'rq==1.3.0'
from ansible-role-netbox.
See #97 (comment) and 513bd4e
You can just specify netbox_pip_constraints
locally for a quick fix. CI seems to have failed on Debian Stretch only with the above commit and I haven't gotten around to looking into why yet.
from ansible-role-netbox.
Even if I set this in my variables, it does not work:
netbox_pip_constraints:
# Blacklist pynacl 1.3.0 due to https://github.com/pyca/pynacl/issues/479
- 'pynacl!=1.3.0'
# Blacklist django-rq 2.3.1 due to https://github.com/rq/django-rq/issues/421
# https://github.com/netbox-community/netbox/issues/4633
- 'django-rq!=2.3.1'
This is due to the version of django-rq used in the old version of netbox.
requirements.txt need to be changed with django-rq==2.3.2
instead of django-rq==2.2.0
.
The issue is the same with a fresh install of 2.7.6 for example.
from ansible-role-netbox.
Weird, I only tested against 2.7.12 but it seemed to work against that.
What happens if you add a constraint for rq<1.4.0
instead?
Modifying the requirements.txt file with the role is not something I'm keen on doing in this role, as it causes conflicts in git-based deployments and idempotency issues for stable deployments.
from ansible-role-netbox.
Related Issues (20)
- Install uwsgi in venv and point service file to venv binary HOT 8
- Only run invalidate command if commit is NOT present
- markupsafe 2.1.1 cannot import soft_unicode HOT 1
- Recommended SSL settings HOT 3
- Vagrant Install failing with errors HOT 1
- Support 'clearcache' steps during upgrade in v3.2.3+
- Required Updates for "Up to" NetBox v3.4.2 Support HOT 6
- Implement Custom Validators HOT 4
- Fails to deploy on clean Debian 11 HOT 11
- RQworker reload fails randomly HOT 2
- Git-based installation: problematic file ownership
- NetBox dropped "clearcache" management command HOT 2
- Wrong check between Python 3.7 and 3.8 HOT 3
- Outdated Version on Ansible-Galaxy HOT 2
- NetBox 4.0 and higher require Python 3.10 or higher
- Creating NetBox superuser fails on NetBox 4.0 HOT 1
- Add support for Debian 12 HOT 1
- Reindex command needs to run on upgrade
- Support alternative database socket usage HOT 1
- Ansible galaxy with very old version (1.0.4) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-netbox.