[SERVER-59639] re-enable the use of regex in errorcodes.py Created: 27/Aug/21 Updated: 06/Dec/22 Resolved: 29/Sep/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Backlog - Service Architecture |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Service Arch
|
||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 172 | ||||||||||||
| Description |
|
The errorcodes.py script uses the regex library to speed up its operation but falls back to the built-in re if regex is unavailable. This library was temporarily disabled due to a Python environment issue in the CI system. Once the CI system is able to support the use of the regex library in Python scripts again, it would be nice to re-enable this library for the error code checking. |
| Comments |
| Comment by Matthew Saltz (Inactive) [ 29/Sep/21 ] |
|
Gotcha, thanks. Looks fine to me, going to close |
| Comment by Githook User [ 28/Aug/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This reverts commit 5b78474fa9d0df4aaeab73f4384d3ab8a026dac8. |
| Comment by Benety Goh [ 28/Aug/21 ] |
|
The CI virtualenv was pulling in a version (2021.8.27) of the regex library specified in etc/pip/components/compile.req that has since been yanked. |