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

IMPORTANT NOTES FOR Pyarmor 8.0 #980

Closed
jondy opened this issue Mar 16, 2023 · 0 comments
Closed

IMPORTANT NOTES FOR Pyarmor 8.0 #980

jondy opened this issue Mar 16, 2023 · 0 comments

Comments

@jondy
Copy link
Contributor

jondy commented Mar 16, 2023

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+.
@jondy jondy added the wontfix label Mar 16, 2023
@jondy jondy pinned this issue Mar 16, 2023
@jondy jondy removed the wontfix label Mar 16, 2023
@jondy jondy changed the title Import notes for Pyarmor 8.0 IMPORT NOTES FOR Pyarmor 8.0 Mar 16, 2023
@dashingsoft dashingsoft locked as resolved and limited conversation to collaborators Mar 26, 2023
@jondy jondy closed this as completed Mar 26, 2023
@jondy jondy changed the title IMPORT NOTES FOR Pyarmor 8.0 IMPORTANT NOTES FOR Pyarmor 8.0 Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant