Skip to content

Comments

Version 1.0.1#112

Merged
rsgalloway merged 1 commit intomasterfrom
v1.0.1
Feb 20, 2026
Merged

Version 1.0.1#112
rsgalloway merged 1 commit intomasterfrom
v1.0.1

Conversation

@rsgalloway
Copy link
Owner

@rsgalloway rsgalloway commented Feb 20, 2026

This pull request releases version 1.0.1 of envstack, addressing a syntax warning in the shell prompt code and updating version information throughout the project.

Bug fix:

  • Fixed a SyntaxWarning caused by an invalid escape sequence in the shell prompt string by using a raw string in the get_shell_prompt method in lib/envstack/envshell.py.

Version updates:

  • Updated the version number to 1.0.1 in lib/envstack/__init__.py, pyproject.toml, and added a new entry to the CHANGELOG.md reflecting the bug fix. [1] [2] [3]

@rsgalloway rsgalloway linked an issue Feb 20, 2026 that may be closed by this pull request
@rsgalloway rsgalloway self-assigned this Feb 20, 2026
@rsgalloway rsgalloway added the bug Something isn't working label Feb 20, 2026
@rsgalloway rsgalloway added this to the Version 1.0.1 milestone Feb 20, 2026
@rsgalloway rsgalloway marked this pull request as ready for review February 20, 2026 14:40
@rsgalloway rsgalloway requested a review from Copilot February 20, 2026 14:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request releases version 1.0.1 of envstack, fixing a SyntaxWarning caused by an invalid escape sequence in the shell prompt code. The fix converts a regular string to a raw string to prevent Python from interpreting backslash sequences like \[ and \e as escape sequences.

Changes:

  • Fixed SyntaxWarning in get_shell_prompt method by using raw string literal
  • Updated version number from 1.0.0 to 1.0.1 across all version declarations
  • Added CHANGELOG entry documenting the bug fix

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
lib/envstack/envshell.py Fixed invalid escape sequence by converting string to raw string literal with r prefix
lib/envstack/init.py Updated __version__ from "1.0.0" to "1.0.1"
pyproject.toml Updated version field from "1.0.0" to "1.0.1"
CHANGELOG.md Added version 1.0.1 entry with "Fixed" section documenting the SyntaxWarning fix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rsgalloway rsgalloway merged commit db25987 into master Feb 20, 2026
10 checks passed
@rsgalloway rsgalloway deleted the v1.0.1 branch February 20, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SyntaxWarning: invalid escape sequence

1 participant