Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832080

Summary: dev-python/aws-xray-sdk-python-2.8.0 should depend on <dev-python/django-4
Product: Gentoo Linux Reporter: Chris Kerr <chris.kerr>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Chris Kerr 2022-01-26 06:00:54 UTC
Building dev-python/aws-xray-sdk-python-2.8.0 with FEATURES=test gives errors:

ImportError: cannot import name 'url' from 'django.conf.urls'

The 'django.conf.urls.url' function was deprecated in django 3 and removed in django 4. This should be reflected in the dependencies of aws-xray-sdk-python
Comment 1 Chris Kerr 2022-01-26 06:06:28 UTC
Created attachment 763641 [details]
build log
Comment 2 Chris Kerr 2022-01-26 06:08:11 UTC
With django-3.2.11 installed, the tests pass
Comment 3 Chris Kerr 2022-09-20 03:07:19 UTC
dev-python/aws-xray-sdk-python-2.10.0 seems not to have this problem any more.