I have some tox project that processes some protobuf in the install-deps phase and outputs some *pb.py codecs (custom script executed as install_command option in the config). When I'm updating my workspace (and the protobuf files are updated), i would like to somehow mark the toxenv as invalid - so that it would get recreated without the need of passing -r, --recreate flags to some later tox call. I could add such action the the script that does the env update. Any idea on how to do it?
i'm using some older tox - 3.14
how to invalidate toxenv
47 Views Asked by murison At
1
There are 1 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in PROTOCOL-BUFFERS
- Custom rewriter for json
- Cannot resolve method 'merge(String, Builder)' on JsonFormat after upgrading protobuf-java-util from 3.25.3 -> 4.26.0
- "No map fields found in com.google.cloud.compute.v1.Instance" error when getting instances in Google Cloud API Java
- How can I decode a Protocol Buffer that uses NanoPB?
- Is it possible to add a "this is what you should use" message when deprecating a Protocol buffer field?
- File passthrough in Meson project
- Least Connection Load balancing using Grpc
- Fatal Exception: java.lang.VerifyError when using Datastore with my own data class on some devices
- using gdscript procotcol buffers
- Use google.api.field_behavior with protoc-gen-ts_proto
- Unmarshalling json into protobuf having oneof type
- How can I export Pub/Sub messages using a Protobuf schema to a GCS bucket?
- Whats the proper way to fill a recyclerView with data from a proto datastore
- Having shared swagger (openapi) type definitions alongside with protobuf ones
- Errors with reading GTFS tripupdates.pb real time data using get() function
Related Questions in PYTHON-PACKAGING
- Setuptools error when installing a local setup.py into virtual environment/Pipfile:
- setup.py code to run on `pip install` but not on `python -m build`
- Should I even continue trying to import a module from the parent package?
- issue while creating a python package for PyPi
- How to test a wheel against multiple versions of python?
- Get own pyproject.toml dependencies programatically
- Poetry packaging several dependencies
- github action error missing dependency even if it already installed from requirements.txt
- Is there a way to "feature flag" python dependencies?
- Cannot import partially initialized subpackage
- Pyinstaller not importing usercreated modules
- Method to check that custom (non-PyPI) package is installed
- Why do python projects have the following structure?
- Adding a private package into my own package in AZURE artifact feed (different organisations)
- Setting up a Python project for packaging and distribution via Homebrew
Related Questions in TOX
- How to test a wheel against multiple versions of python?
- Installing an older version of cli tox
- How do I read the project version number stored in the pyproject.toml file from within the tox.ini file?
- Tox doesn't find pyproject.toml?
- How to run bash commands in a tox.ini command
- Tox tests working behaviour for changes in basepython field is a confusion
- In tox What is the difference between setenv, and passenv
- ADO pipelines redirect buffer making pytest output out of order
- How to check compatible library version interval for my package in python?
- How to install dependencies that are installed in a tox-docker container, but NOT locally?
- tox pytest import doesn't work in a subpackage
- How to get tox to use a Python interpreter on a specifc path
- Pytest coverage not adding src files into report on DOCKER container
- Execute all environments in tox
- tox-conda: some conda-deps items not present in test environment
Related Questions in PROTOBUF-PYTHON
- Incorrect Protobuf classes are getting generated
- Protobuf message from CPP to python
- protobuf installed but cannot be imported in Poetry environment
- Decode protobuf without proto files in python
- Failing to Import Files Compiled from Protobuf in Python
- Python Protobuf `MessageToDict` And `MessageToJson` with `include_default_value_fields` Does Add Defaults To `google.protobuf.BoolValue` Fields
- Having an error when installing Scann on Google Colab
- Alternatives to pylint-protobuf
- When constructing an instance of a Python protobuf message, I keep getting positional argument error
- Different libraries require different version of Protobuf (dependency conflict)
- Match (lib)protoc version on Mac to Python protobuf==3.19.X
- Compiling Protobuf to Python giving unexpected results
- Protobuf file not generating correct Python code with 'protoc --python_out' command
- How to get type of a protobuf message from a raw protobuf buffer and the .proto files?
- How to collate several protobuf messages into one object
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
turns out its described quite verbosly in the doc: https://tox.wiki/en/3.14.6/example/general.html?highlight=recreate#dependency-changes-and-tracking
Also from what i looked into tox code, here are the attributes that are checked https://tox.wiki/en/3.14.6/_modules/tox/venv.html?highlight=matches_with_reason
base_resolved_python_sha256base_resolved_python_pathtox_versionsitepackagesusedevelopalwayscopyApart from that, the first and most obvious way is to simply remove the
<toxworkdir>dir on the env update. Other possibility can be to remove/rename the<toxenvdir>/.tox-config1file.