### Clone and Setup eth-rlp Repository Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst Instructions to fork the eth-rlp repository, clone it locally, and install development dependencies using a virtual environment and pip. ```sh git clone git@github.com:your-github-username/eth-rlp.git cd eth-rlp virtualenv -p python venv . venv/bin/activate python -m pip install -e ".[dev]" pre-commit install ``` -------------------------------- ### Install eth-rlp using pip Source: https://github.com/ethereum/eth-rlp/blob/main/README.md This command installs the eth-rlp library using Python's package installer, pip. Ensure you have Python and pip installed. ```sh python -m pip install eth-rlp ``` -------------------------------- ### Release with Specific New Version Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst Example of how to release a specific new version, particularly for unstable releases like alpha or beta. ```sh make release bump="--new-version 4.0.0-alpha.1" ``` -------------------------------- ### Build and Test Release Package Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst Steps to prepare for a release by checking out the main branch, pulling latest changes, and testing the package build. ```sh git checkout main && git pull make package-test ``` -------------------------------- ### Preview Release Notes Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst Command to generate a preview of the release notes using towncrier. ```sh towncrier --draft ``` -------------------------------- ### Build Release Notes Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst Command to build release notes by specifying the version part to bump. ```sh make notes bump=$$VERSION_PART_TO_BUMP$$ ``` -------------------------------- ### Show Version Bump - bump-my-version Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst Demonstrates how to use the `bump-my-version show-bump` command to visualize the outcome of incrementing different parts of a version string. This is useful for understanding versioning strategies before applying changes. ```shell bump-my-version show-bump ``` -------------------------------- ### Release New Version Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst Command to release a new version, which includes bumping the version, creating a commit and tag, building the package, and pushing to GitHub and PyPI. ```sh make release bump=$$VERSION_PART_TO_BUMP$$ ``` -------------------------------- ### Enforce Code Style with Pre-commit Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst Command to manually run the code linting process using make, which is managed by pre-commit. ```sh make lint ``` -------------------------------- ### Run eth-rlp Tests Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst Command to execute all tests for the eth-rlp project using pytest. ```sh pytest tests ``` -------------------------------- ### Skip Pre-commit Checks Source: https://github.com/ethereum/eth-rlp/blob/main/docs/contributing.rst How to bypass pre-commit checks during a git commit. ```sh git commit --no-verify ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.