rstudio / rsconnect-jupyter

Publish Jupyter notebooks to RStudio Connect
GNU General Public License v2.0
25 stars 6 forks source link

Update 'black' package due to compatibility issue with newer versions of 'click' #332

Closed Lytol closed 1 year ago

Lytol commented 1 year ago

Description

Recent linting runs would product an error: ImportError: cannot import name '_unicodefun' from 'click'. This is due to an incompatibility between newer versions of click and versions of black prior to 22.3.0. I've updated the version of black to latest (22.10.0).

NOTE: The Pipfile.lock was woefully out-of-date, so it has a LOT of updated package versions. We do not seem to use it when creating the distribution anyway, but this was causing a lot of "Pipfile.lock out of date" issues when using pipenv in development. We should decide what the role of the Pipfile.lock is in this repo or just take it out and gitignore it. :shrug:

Testing Notes / Validation Steps

Development only change.