Comments (3)
If you want to avoid using virtual environments, I'd suggest using pipx... which is used for installing tools (like Sceptre) into isolated, independent virtual environments. It should make it a lot easier to install Sceptre for use without mixing it with other environments.
from sceptre.
Hi @pc-fmarin, on this I think we'll have to say that we cannot and will not do this. I don't really see the point in allowing all future minor versions of Python... such would assume there won't be any breaking or incompatible changes between now and Python 4. History proves that assumption to be pure hubris.
For the sake of stability of Sceptre, we always make sure to explicitly test and certify that Sceptre is compatible with each Python version. Even upgrading to support Python 3.10 required us to make changes to core Sceptre code in order for it not to be broken. I do not foresee supporting 3.12 to be any different. While some libraries make sense to pin up to the next major version, we cannot do this with the Python version itself.
I'll also note that Sceptre will perform most at its most stable if it is installed into its own virtual environment as a standalone application, not mixed in with your application dependencies. This is not out of step with other IaC tools. For example, AWS SAM CLI recommends that it be installed in its own virtual environment rather than pip-installed into the same environment as other dependencies. I would recommend that you establish a separate virtual environment for Sceptre and then there won't be any version incompatibilities. Alternatively, (just from a pure application architecture best-practices perspective), I'd encourage you to not use >3.9, <4.0
as your python dependency.
from sceptre.
FWIW, we just ran into deploy failures (first time that sceptre >= 4.2.0 was picked up by our pipeline):
ERROR: botocore 1.31.1 has requirement urllib3<1.27,>=1.25.4, but you'll have urllib3 2.0.3 which is incompatible.
After seeing this issue, tried with <4.2.0, and that resolved it. Suspecting the poetry update? I don't disagree with the suggestion to use virtual environments, but we are not python devs...and trying to figure out this stuff is more difficult as a result. :(
from sceptre.
Related Issues (20)
- Autocompletion docs need updating for bash
- Stack outputs in stack groups hide the stack names HOT 5
- Unable to install Sceptre >= 4.0 since release of cython 3.0.0 HOT 15
- inheretance behavior of `profile` overrides child with parent config HOT 5
- Add a Makefile HOT 1
- Why does black use Python 3.10? HOT 2
- announcements to twitter (X) is broken HOT 4
- Document `j2_environment` `autoescape` setting to control Jinja2 escaping HOT 4
- Drop support for Python 3.7 HOT 4
- test_hook_writes_to_stderr failure "/bin/sh command not found" HOT 4
- Not enough values to unpack given a badly formatted stack ref
- Bug in hooks test on MacOS HOT 2
- Setup build workflow without secrets HOT 2
- Provide a formatted_yaml template handler HOT 1
- CI: make integration tests run faster HOT 5
- Stack differ raises AttributeError if a values is a bool
- Input parameters should be validated
- Cyclic dependencies should result in a clearer error message
- j2_environment extensions not available while generating config 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 sceptre.