gerlowskija opened a new pull request, #2077:
URL: https://github.com/apache/solr/pull/2077

   Python2 reached its final EOL in 2020.  This script should use Python3 like 
all others in the repo.
   
   https://issues.apache.org/jira/browse/SOLR-17078
   
   
   # Description
   
   Almost all Python scripts in our repo use Python3, but one 
("train_and_upload_demo_model.py") still lingers on Python2 years after its EOL 
in 2020.  
   
   # Solution
   
   This commit updates the script to use Python3, using the automated 
[2to3](https://docs.python.org/3/library/2to3.html) tool offered by the Python 
community.
   
   # Tests
   
   Manually tested the Python script after the update.  The script, and the 
larger example/demo it's a part of, still work following the move the python3.
   
   # Checklist
   
   Please review the following and check all that apply:
   
   - [x] I have reviewed the guidelines for [How to 
Contribute](https://wiki.apache.org/solr/HowToContribute) and my code conforms 
to the standards described there to the best of my ability.
   - [x] I have created a Jira issue and added the issue ID to my pull request 
title.
   - [x] I have given Solr maintainers 
[access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork)
 to contribute to my PR branch. (optional but recommended)
   - [x] I have developed this patch against the `main` branch.
   - [ ] I have run `./gradlew check`.
   - [x] I have updated documentation relevant to the PR
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to