-
Notifications
You must be signed in to change notification settings - Fork 492
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
Update pyproject.toml and remove requirements and setup files #1342
Update pyproject.toml and remove requirements and setup files #1342
Conversation
bb44e37
to
641be75
Compare
…n version to 3.9.0 since 3.8.0 is EOL.
641be75
to
1fd5177
Compare
Thanks, we don't tend to bump the python number at EoL, only when a feature of volatility requires it. Not everybody updates, even when they should, so applying an unnecessary lower bound on the tool doesn't make sense it just creates hurdles for users to jump through. I'm also wondering about the benefits of the |
Thanks for the quick response @ikelos. I will take a look at the CI pipeline and do not see any issue in reverting the 3.8 to 3.9 bump. I personally believe that keeping support for end of life python versions should be avoided but I can understand your reasoning. Are there still non-end-of-life LTS unix distributions that support and ship python 3.8?
Currently that is indeed not the case. Using |
It's not so much what's available from vendors, as what users have on their ancient systems. It would be frustrating for a version of the package to work perfectly fine, but then an upgrade suddenly not work with your system for no reason other than the maintainers trying to be tidy. It feels like setup.py would probably support adding in the aliases, I'm just not sure we ever bothered? At the moment it's not too much of a burden supporting all the installation mechanisms we do, but I'm happy to improve the |
Thanks for elaborating. I've reverted back to 3.8 in the last commit.
Perhaps I was formatting my words too cautious in the last comment. Pyproject.toml is currently the preferred method for dependency management and has been for some time.
I feel that this change would modernize, simplify (and centralize) the dependency management of volatility 3. To illustrate: if you look at the diff of this pull request you can see that three different requirement definitions of |
Just asking for @npetroni 's perspective as the installation guru to check he's happy with all the changes put forward. As long as we're happy pyproject.toml is a suitable way to go and we're not gonna leave anyone out in the cold, I'm ok with it. 5:) |
"leechcorepyc>=2.19.2,<3; sys_platform != 'darwin'", | ||
] | ||
|
||
cloud = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels like this should be part of full, shouldn't it? I can't see a reason for selecting full and then not getting cloud as well?
@npetroni said he's happy. Just wondering about dealing with the separate cloud section before this gets merged? |
Moved dependency definitions to exclusively use
pyproject.toml
and updated the readme to reflect these changes.This simplifies the install experience for new Volatility users and ensures users correctly install package tools in their local environment (
vol
andvolshell
).Also bumped the defined minimal CPython version to 3.9.0 since 3.8.0 is EOL. If you have any further questions I will be more than happy to elaborate.