Rsconnect-python

Latest version: v1.24.0

Safety actively analyzes 642295 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

1.14.1

Fixed

- Extra files were not being included in certain deploy and write-manifest commands.

Added

- The `--cacert` option now supports certificate files encoded in the Distinguished Encoding Rules (DER) binary format. Certificate files with DER encoding must end in a `.cer` or `.der` suffix.
- The `--python` option now provides additional user guidance when an invalid path is provided.

Changed

- The `--cacert` option now requires that Privacy Enhanced Mail (PEM) formatted certificate files end in a `.ca-bundle`, `.crt`, `.key`, or `.pem` suffix.

1.14.0

Changed
- You can now redeploy to a content with an "unknown" app mode. A content item's app mode is "unknown" if it was created, but never deployed to, or its deployment failed before an app mode could be determined.

Removed

- Python 3.5 & 3.6 support.

- `rsconnect-python` no longer considers the `RETICULATE_PYTHON` environment variable.
In environments where `RETICULATE_PYTHON` is set outside a project context (e.g. by a Posit Workbench administrator),
attempting to deploy content or write manifests in projects using virtual environments required explicitly setting `--python /path/to/virtualenv/python`.
Removing `RETICULATE_PYTHON` detection should simplify the use of the CLI in this case.

1.13.0

Added
- When running rsconnect bootstrap, you can now specify the jwt secret using the CONNECT_BOOTSTRAP_SECRETKEY environment variable.

Changed
- Update pip_freeze to use `pip freeze` since Connect filters for valid package paths in the backend and it no longer depends on the undocumented behavior of `pip list --format=freeze`. This reverts the change made in 1.5.2.

- Renamed the deploy_html `excludes` flag to `exclude` for consistency with other deploy commands.

1.12.1

Changed
- Updated actions.py to reuse code in main, minus the CLI parts. As a result deploy_jupyter_notebook and deploy_by_manifest had their return signatures changed. They now return None.

1.12.0

Added
- You can now use the new rsconnect bootstrap command to programmatically provision an initial administrator api key on a fresh Connect instance. This requires RStudio Connect release 2022.10.0 or later and Python version >= 3.6.

1.11.0

Added
- Add support for deployment on RStudio Cloud

Changed
- rsconnect-python will now issue warnings if it detects environmental variables that overlap with stored credentials

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.