-
Notifications
You must be signed in to change notification settings - Fork 113
setup.cfg -> pyproject.toml #1625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6903331
to
1c92599
Compare
@wch @schloerke can either of you think of any downstream problems from shiny having version numbers that look like |
Projects:
I may have missed something and would like @wch to add his stamp of approval. But I have confidence so far! If we do need it on the packaging side, we can leverage To remind myself... Unlike R where versions go from |
TODO: Check if additional (unwanted) files are included in the sdist package bundle due to using setuptools_scm |
38916ca
to
0f21df9
Compare
This is necessary for setuptools_scm to work correctly in CI environments.
Since pyproject.toml tells black what Python versions are supported, it's slightly stricter than the default (see https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#t-target-version).
These are handled automatically by setuptools_scm now
0f21df9
to
1f801f4
Compare
* main: setup.cfg -> pyproject.toml (posit-dev#1625) docs(navset): Add server function to navset docs (posit-dev#1596) Pin syrupy to avoid pytest-rerunfailures incompatibility (posit-dev#1632) refactor: `shiny create` and `shiny add test` supporting functions (posit-dev#1629) Update CHANGELOG.md Fix posit-dev#1601: Force text/javascript for .js files Work around griffe 1.0 breaking changes feat(shiny create): Support simpler syntax for `--github` flag (posit-dev#1623) Make sure `Chat.messages(format='google')` converts role assistant -> model (posit-dev#1622) Fix `NormalizerRegistry.register()` (posit-dev#1619) Update JS/CSS from shiny and bslib (posit-dev#1617) Add ability to update `Chat()`'s input placeholder (posit-dev#1594) docs: Add double-quotes to shiny[theme] (posit-dev#1605) `json.dump()` each websocket message once instead of twice (posit-dev#1597) docs: Update note on style keys allowing for kebab-case (posit-dev#1595) docs: fix navset function links (posit-dev#1590) Get `ui.Chat()` working inside Shiny modules (posit-dev#1582) bug(notification): Allow for duration to be `None` and passed to client (posit-dev#1577) Fix logic for detection of support files in docs (posit-dev#1580) docs(navset): Add examples for navset (posit-dev#1579)
This builds properly, but it doesn't quite work on local builds; requests for
shiny.js
result in 404. I think it may have to do with the+
character that setuptools_scm puts into the version string, e.g.1.0.1.dev21+g4d7a2e5e.d20240821
.