Skip to content

MacOS - Invalid Docstring escape character message in reV version call #568

Description

@WilliamsTravis

reV version checks

  • I have confirmed this bug has not already been reported.

  • I have confirmed this bug exists on the latest version of reV.

  • I have confirmed this bug exists on the main branch of reV.

Bug Description

When calling reV --version, we get error messages before the version print out:

/Users/twillia2/github/reV/reV/supply_curve/points.py:1457: SyntaxWarning: invalid escape sequence '\ '
  """Technology-dependent power density estimates (in MW/km\ :sup:`2`).
/Users/twillia2/github/reV/reV/bespoke/bespoke.py:1555: SyntaxWarning: invalid escape sequence '\ '
  """reV bespoke analysis class.
reV, version 0.14.5

This doesn't happen on Linux, happens on MacOS, not sure about Windows.

Reproducible Example

reV --version

Full Traceback

No response

Expected Behavior

It just prints the version.

System and installed versions

  • OS: MacOS
  • reV Version: 0.14.5
  • Python Version: 3.13.5
  • Pandas Version: 2.1.3

Charge code

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationp-lowPriority: low

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions