Skip to content

PSA: xstatic 2.0.0 migration hints #15

@ThomasWaldmann

Description

@ThomasWaldmann

It looks like "modernized" xstatic 2.0.0 can't be compatible with currently existing "legacy" xstatic-* resource packages, but needs all resource packages to be "modernized" also.

Also, "legacy" xstatic < 2.0.0 isn't compatible with the "modernized" resource packages, but only with the "legacy" resource packages.

Thus, I guess best way to deal with that for projects using xstatic is:

  • pin all xstatic packages to the legacy versions (xstatic < 2 and xstatic-* to precisely whatever the latest legacy version is). that avoids that non-working mixups of legacy and modernized packages will get installed.
  • help getting all xstatic-* resource packages modernized. guess the easiest way to do that is to:
    • take the latest legacy version,
    • re-release it including a wheel or add a wheel to last release (if that wasn't the case before),
    • modernize it and re-release it (without doing a version change of the contained software - that can be and should be done later)
  • when all xstatic packages have modernized releases, change the version pinning to minimum requirements (xstatic >= 2 and < 3, and xstatic-* >= first modernized version)

How to modernize existing xstatic resource packages:

More details: #12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions