Skip to content
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

Remove django-admin from requirements #599

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Conversation

Swatinem
Copy link
Contributor

@Swatinem Swatinem commented Aug 8, 2024

The problem is that django-admin transitively pulls in screen, which does not compile with Python 3.12 due to relying on removed API. This way, it is possible to set up a local .venv and install all requirements into it, which thus provides proper editor completions and type hints.


This complements codecov/shared#318, although I did not add the .envrc, as that is explicitly ignored.

The disclaimer from the other PR is also true here: I don’t really consider myself a Python developer, so I’m not entirely sure what I am doing here.

The problem is that `django-admin` transitively pulls in `screen`, which does not compile with Python 3.12 due to relying on removed API.
This way, it is possible to set up a local `.venv` and install all requirements into it, which thus provides proper editor completions and type hints.
@Swatinem Swatinem self-assigned this Aug 8, 2024
@codecov-notifications
Copy link

codecov-notifications bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #599   +/-   ##
=======================================
  Coverage   97.57%   97.57%           
=======================================
  Files         429      429           
  Lines       35951    35951           
=======================================
  Hits        35079    35079           
  Misses        872      872           
Flag Coverage Δ
integration 97.57% <ø> (ø)
latest-uploader-overall 97.57% <ø> (ø)
unit 97.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.72% <ø> (ø)
OutsideTasks 97.80% <ø> (ø)

@codecov-qa
Copy link

codecov-qa bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.57%. Comparing base (1357214) to head (6dd308f).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #599   +/-   ##
=======================================
  Coverage   97.57%   97.57%           
=======================================
  Files         429      429           
  Lines       35951    35951           
=======================================
  Hits        35079    35079           
  Misses        872      872           
Flag Coverage Δ
integration 97.57% <ø> (ø)
latest-uploader-overall 97.57% <ø> (ø)
unit 97.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.72% <ø> (ø)
OutsideTasks 97.80% <ø> (ø)

Copy link

codecov-public-qa bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.57%. Comparing base (1357214) to head (6dd308f).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #599   +/-   ##
=======================================
  Coverage   97.57%   97.57%           
=======================================
  Files         429      429           
  Lines       35951    35951           
=======================================
  Hits        35079    35079           
  Misses        872      872           
Flag Coverage Δ
integration 97.57% <ø> (ø)
latest-uploader-overall 97.57% <ø> (ø)
unit 97.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.72% <ø> (ø)
OutsideTasks 97.80% <ø> (ø)

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.61%. Comparing base (1357214) to head (6dd308f).

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #599   +/-   ##
=======================================
  Coverage   97.61%   97.61%           
=======================================
  Files         464      464           
  Lines       37157    37157           
=======================================
  Hits        36271    36271           
  Misses        886      886           
Flag Coverage Δ
integration 97.57% <ø> (ø)
latest-uploader-overall 97.57% <ø> (ø)
unit 97.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.81% <ø> (ø)
OutsideTasks 97.80% <ø> (ø)

This change has been scanned for critical changes. Learn more

@Swatinem Swatinem added this pull request to the merge queue Aug 9, 2024
Merged via the queue into main with commit f969cdb Aug 9, 2024
26 checks passed
@Swatinem Swatinem deleted the swatinem/rm-django-admin branch August 9, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants