Skip to content

IMPORTANT NOTES FOR Pyarmor 8.0 #980

@jondy

Description

@jondy

Pyarmor 8.0 introduces significant changes. It has been rewritten and new features are implemented through the new commands:
gen, reg, cfg. These commands only work for Python 3.7 and above.

Initial Release Support (2023-03-08)

  • Supported Architectures: x86_64
  • Supported Platforms: Windows, Linux, and macOS

Upcoming Support

  • aarch64 for Linux and macOS: Before 2023-04-01
  • armv7 and x86 without bcc mode: Around 2023-04-10
  • Other architectures: On request

Users of versions prior to 8.0 should read the following Import Notes section to decide whether to upgrade Pyarmor.

Do not upgrade to 8.0 if don't understand what're changed, and it need some time to handle upgrading issues.

Important Notes for Users of Pyarmor Prior to 8.0

Going forward, only bug fixes will be provided for older commands, such as obfuscate and licenses.
No new features will be added to these commands, but they will continue to be usable.

Upon the release of Pyarmor 8.0, there are three scenarios for existing users:

1. Never upgrade to version 8.0+

  • SPP mode will not work

    • To use SPP mode, you must upgrade Pyarmor to version 8.0 or later.
  • pyarmor register command without arguments returns a 404 error

    • This command was used to query registration information in earlier versions of Pyarmor. However, the license server no longer supports this web API. Use pyarmor -v to ensure you are not using a trial version.
  • Registering Pyarmor with pyarmor register pyarmor-regcode-xxxxxx.txt is limited to 10 uses:

    • To use Pyarmor on a new machine, CI server, or Docker, refer to the second method described in the registration file "pyarmor-regcode-xxxxxx.txt":
Downloading "pyarmor-regfile-xxxxxx.zip" once, use this `.zip` file to register Pyarmor later.

2. Upgrade to version 8.0 but only use old features

By default, the pyarmor command only accepts the new commands.

To continue using older commands like obfuscate and licenses, you can:

  • Use pyarmor-7 instead of pyarmor
  • Set the environment variable PYARMOR_CLI=7 and continue using pyarmor
  • Call the entry point pyarmor.pyarmor:main_entry in any other way

3. Upgrade to version 8.0 and use new features

  • New EULA:

    • Adhere to the new Pyarmor EULA. This is a significant change for users with old personal licenses, as the new license only allows one product.
  • License Upgrades:

    • Not all old licenses can be freely upgraded to the new license. Please refer to the Pyarmor licenses for more information.
  • Internet Connection:

    • Older commands do not require an internet connection, but new commands do.
  • Python Version Support:

    • While older commands support Python 2.7-3.10, new commands only support Python 3.7+.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions