From 9bb1ee7a99c423df9da78df6f7b27c8d710cd45a Mon Sep 17 00:00:00 2001 From: Aaron de Mello Date: Thu, 25 Sep 2025 15:30:48 -0400 Subject: [PATCH 1/2] Updated changelog and contributing file --- CHANGELOG.md | 2 +- Contributing.md | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be2411d..e5935a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ nylas-python Changelog ====================== -Unreleased +v6.13.0 ---------- * Fixed from field handling in messages.send() to properly map "from_" field to "from field * Fixed content_id handling for large inline attachments to use content_id as field name instead of generic file{index} diff --git a/Contributing.md b/Contributing.md index 1a25264..76a7880 100644 --- a/Contributing.md +++ b/Contributing.md @@ -42,26 +42,35 @@ source .venv/bin/activate # .venv\Scripts\activate ``` +**Important**: If you encounter issues with `pip` not being available in the virtual environment, run: + +```bash +# Ensure pip is available in the virtual environment +python -m ensurepip --upgrade +``` + ### 3. Install Development Dependencies Install the package in editable mode with all optional dependencies: ```bash # Install the package in development mode with all optional dependencies -pip install -e ".[test,docs,release]" +python -m pip install -e ".[test,docs,release]" # Or install specific dependency groups as needed: -# pip install -e ".[test]" # For running tests -# pip install -e ".[docs]" # For building documentation -# pip install -e ".[release]" # For release management +# python -m pip install -e ".[test]" # For running tests +# python -m pip install -e ".[docs]" # For building documentation +# python -m pip install -e ".[release]" # For release management ``` +**Note**: We use `python -m pip` instead of just `pip` to ensure we're using the pip from the virtual environment. + ### 4. Install Code Quality Tools Install the linting and formatting tools used by the project: ```bash -pip install pylint black +python -m pip install pylint black ``` ### 5. Verify Your Setup From 5f25e6013d34bc3219ca9d37b752a5afca334d23 Mon Sep 17 00:00:00 2001 From: Aaron de Mello Date: Thu, 25 Sep 2025 15:30:51 -0400 Subject: [PATCH 2/2] =?UTF-8?q?Bump=20version:=206.12.0=20=E2=86=92=206.13?= =?UTF-8?q?.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- nylas/_client_sdk_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 32e0e24..d1090eb 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,6 +1,6 @@ [bumpversion] commit = True tag = True -current_version = 6.12.0 +current_version = 6.13.0 [bumpversion:file:nylas/_client_sdk_version.py] diff --git a/nylas/_client_sdk_version.py b/nylas/_client_sdk_version.py index 5474672..5dd6c42 100644 --- a/nylas/_client_sdk_version.py +++ b/nylas/_client_sdk_version.py @@ -1 +1 @@ -__VERSION__ = "6.12.0" +__VERSION__ = "6.13.0"