Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
3baa58d3
Verified
Commit
3baa58d3
authored
3 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Remove importlib backport
Rationale: We drop support for Python <3.9
parent
bf7dffbe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!594
Resolve "Drop Python <3.9 compatibility"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/core/util/core_helpers.py
+1
-7
1 addition, 7 deletions
aleksis/core/util/core_helpers.py
pyproject.toml
+0
-1
0 additions, 1 deletion
pyproject.toml
with
1 addition
and
8 deletions
aleksis/core/util/core_helpers.py
+
1
−
7
View file @
3baa58d3
import
sys
from
datetime
import
datetime
,
timedelta
from
importlib
import
import_module
from
importlib
import
import_module
,
metadata
from
itertools
import
groupby
from
operator
import
itemgetter
from
typing
import
Any
,
Callable
,
Optional
,
Sequence
,
Union
if
sys
.
version_info
>=
(
3
,
9
):
from
importlib
import
metadata
else
:
import
importlib_metadata
as
metadata
from
django.conf
import
settings
from
django.db.models
import
Model
,
QuerySet
from
django.http
import
HttpRequest
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
0
−
1
View file @
3baa58d3
...
...
@@ -89,7 +89,6 @@ psutil = "^5.7.0"
celery-progress
=
"^0.1.0"
django-cachalot
=
"^2.3.2"
django-prometheus
=
"^2.1.0"
importlib-metadata
=
{
version
=
"^4.0.0"
,
python
=
"<3.9"
}
django-model-utils
=
"^4.0.0"
bs4
=
"^0.0.1"
django-uwsgi-ng
=
"^1.1.0"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment