-
Notifications
You must be signed in to change notification settings - Fork 0
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
Subdirect #15
Conversation
97ccbc6
to
1bb9759
Compare
c0ed434
to
baba85b
Compare
- run: pip install --upgrade pip uv | ||
env: | ||
PIP_PROGRESS_BAR: 'off' | ||
- run: | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved to setup-uv
, if you are curious
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv python pin ${{ matrix.python-version }}
- run: uv sync --python-preference=only-managed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been seeing uv sync
and uv.lock
in the docs. I'll have to try them out.
@@ -15,8 +15,33 @@ dynamic = ['version'] | |||
name = 'allowedflare' | |||
readme = 'README.md' | |||
|
|||
[project.optional-dependencies] | |||
precommit = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't pre-commit
handle its deps itself? Or is this to enable local usage of all pre-commit
tools
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for system/local installation of tools like codespell which pre-commit will use.
Background and Links
allowedflare.LoginView
, are problematic because they depend on Django setupChanges and Testing
allowedflare.allowedflare
toallowedflare.core
for brevitydemodj/settings.py
'\.'
requirements.in
topyproject.toml
because of issues with thedjangorestframework-stubs[compatible-mypy]
extra seemingly forcing the oldest version to be chosen; the UV docs say "Note extras are not supported with the requirements.in format."