(package_name)
| 2 | import re |
| 3 | |
| 4 | def get_installed_version(package_name): |
| 5 | try: |
| 6 | return pkg_resources.get_distribution(package_name).version |
| 7 | except pkg_resources.DistributionNotFound: |
| 8 | return None |
| 9 | |
| 10 | def update_requirements(): |
| 11 | with open('requirements.txt', 'r') as f: |
no outgoing calls
no test coverage detected