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

[deps] Update django-import-export requirement from ~=3.3.0 to ~=4.1.1 #915

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2024

Updates the requirements on django-import-export to permit the latest version.

Release notes

Sourced from django-import-export's releases.

4.1.1

Changelog

Sourced from django-import-export's changelog.

4.1.1 (2024-07-08)

  • Restore return value for deprecated method :meth:~import_export.resources.Resource.get_fields (1897 <https://github.com/django-import-export/django-import-export/pull/1897>_)

4.1.0 (2024-06-25)

  • Improve Error class (1882 <https://github.com/django-import-export/django-import-export/pull/1882>_)
  • Fix response content assertions (1883 <https://github.com/django-import-export/django-import-export/pull/1883>_)
  • Admin UI: display checkboxes before labels in export form (1884 <https://github.com/django-import-export/django-import-export/pull/1884>_)
  • deprecated unused method: :meth:~import_export.resources.Resource.get_fields (1885 <https://github.com/django-import-export/django-import-export/pull/1885>_)

4.0.10 (2024-06-25)

  • remove django version check for custom storages (1889 <https://github.com/django-import-export/django-import-export/pull/1889>_)

4.0.9 (2024-06-18)

  • docs: clarify :meth:~import_export.resources.Resource.for_delete documentation (1877 <https://github.com/django-import-export/django-import-export/pull/1877>_)
  • fix default Field returns empty string instead of 'None' (1872 <https://github.com/django-import-export/django-import-export/pull/1872>_)
  • revert setting default value for attribute (1875 <https://github.com/django-import-export/django-import-export/pull/1875>_)

4.0.8 (2024-06-13)

  • docs: clarify widget configuration (1865 <https://github.com/django-import-export/django-import-export/pull/1865>_)
  • Enable skip export confirm page (1867 <https://github.com/django-import-export/django-import-export/pull/1867>_)

4.0.7 (2024-05-30)

  • fix documentation to show correct method for reading form data on export (1859 <https://github.com/django-import-export/django-import-export/pull/1859>_)
  • Admin UI: display both field name and column name on export (1857 <https://github.com/django-import-export/django-import-export/pull/1857>_)
  • fix export declared field with custom column name (1861 <https://github.com/django-import-export/django-import-export/pull/1861>_)
  • fix declared fields do not have correct Widget class set (1861 <https://github.com/django-import-export/django-import-export/pull/1861>_)
  • docs: clarify changes to CharWidget in v4 (1862 <https://github.com/django-import-export/django-import-export/pull/1862>_)
  • refactor :class:~import_export.resources.Resource to remove code duplication in export (1863 <https://github.com/django-import-export/django-import-export/pull/1863>_)

4.0.6 (2024-05-27)

  • Added additional test for export field order (1848 <https://github.com/django-import-export/django-import-export/pull/1848>_)
  • fix crash on import when relation has custom PK (1853 <https://github.com/django-import-export/django-import-export/pull/1853>_)
  • fix crash on export from action when instance has custom PK (1854 <https://github.com/django-import-export/django-import-export/pull/1854>_)

4.0.5 (2024-05-23)

... (truncated)

Commits
  • afd099f updated changelog for 4.1.1
  • 9216df3 Add class path to deprecated method warnings (#1899)
  • 850ba0d Remove use of getattr() in Field.repr() (#1898)
  • af69ec8 Restore return value for Resource.get_fields() (#1897)
  • 06557c3 updated release notes format
  • d4da64c updated changelog
  • 5420a96 updated RELEASE.md with warning
  • 0dfaf84 Merge branch '4-0-x'
  • ad004e9 issue 1888: remove django version check for custom storages (#1889)
  • 6dda647 corrected filter_export() example
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 1, 2024
@pandafy
Copy link
Member

pandafy commented Sep 4, 2024

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/django-import-export-approx-eq-4.1.1 branch from e2a4b3c to 4a9a446 Compare September 4, 2024 17:20
@pandafy pandafy force-pushed the dependabot/pip/django-import-export-approx-eq-4.1.1 branch from c95e91f to a963643 Compare September 4, 2024 18:04
@pandafy
Copy link
Member

pandafy commented Sep 4, 2024

The new version of django-import-export added the functionality to select the fields to export.

Screenshot from 2024-09-04 23-35-08

I have disabled this functionality and configured the admin to revert to the previous (v3) version of the export confirm screen where all of the fields are exported.

Removing necessary fields from the export like organization can lead to the exported file becoming useless as it can't be imported back to the system.

@pandafy
Copy link
Member

pandafy commented Sep 4, 2024

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 4, 2024

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

dependabot bot and others added 2 commits September 5, 2024 00:09
@pandafy pandafy force-pushed the dependabot/pip/django-import-export-approx-eq-4.1.1 branch from a963643 to 15b6fc8 Compare September 4, 2024 18:39
@pandafy
Copy link
Member

pandafy commented Sep 4, 2024

django-import-export>=4.0 dropped support for Django 3.2.

We will merge this PR after dropping support for Django 3.2

@pandafy pandafy added this to the Drop Django 3.2 milestone Sep 4, 2024
@pandafy pandafy added blocked Blocked by another issue / pr or task Drop Django 3.2 labels Sep 4, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2024

A newer version of django-import-export exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by another issue / pr or task dependencies Pull requests that update a dependency file Drop Django 3.2 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant