-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature: Update Python pyproject.toml files to set the minimum Python version to >=3.8 #366
Closed
2 tasks done
Labels
enhancement
New feature or request
Comments
Completed an over-the-shoulder. Python upgrade worked as did the mda file changes. |
meliz19
added a commit
that referenced
this issue
Sep 26, 2024
#366 Feature: Update pyproject.toml files to set min Python version to >=3.8
ewilkins-csi
added a commit
that referenced
this issue
Sep 27, 2024
We updated the version bound for python to be `>=3.8` in a previous commit, but missed updating the MDA templates for data record modules. This resulted in a failure to build projects with data records, as the version range `^3.11.4` was no longer satisfied when installing the dependencies of a PySpark pipeline.
ewilkins-csi
added a commit
that referenced
this issue
Sep 27, 2024
[#366] fix data record python version
This was
linked to
pull requests
Sep 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
check-pyproject-updates.zip
Description
Currently, aiSSEMBLE sets the minimum Python version to
3.11.4
for its Python modules. We originally did this due to a misunderstanding of how Poetry works. There is no reason why we cannot allow users to use lower Python versions. To extend the use of aiSSEMBLE to a broader user base, this ticket will update the minimum Python version in thepyproject.toml
files to>=3.8.
DOD
Test Strategy/Script
git pull
the latest version of the repomvn clean install
python check-pyproject-updates.py </path/to/aissemble>
For OTS only
test-project-pipeline-models/src/main/resources/pipelines/
.DataDeliveryPipeline.json
:MachineLearningPipeline.json
mvn clean install
and resolve all the Manual Actions.pyproject.toml
, you will need to update the relevant aissemble-generated packages to reference the local path. Note Only replace the relevant packages that are listed in thepyproject.toml
.python check-pyproject-updates.py </path/to/downstream/project>
References/Additional Context
The current Python modules (
1.8.2
) on PyPi show that Python3.12
or just3
are required.The text was updated successfully, but these errors were encountered: