Skip to content
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

Deprecation warnings in version 1.6.9, will stop working with Python 3.8 #192

Closed
larsblumberg opened this issue Feb 6, 2019 · 1 comment · Fixed by #201
Closed

Deprecation warnings in version 1.6.9, will stop working with Python 3.8 #192

larsblumberg opened this issue Feb 6, 2019 · 1 comment · Fixed by #201

Comments

@larsblumberg
Copy link

larsblumberg commented Feb 6, 2019

Using the current version 1.6.9., py.test spits out the following warning which indicates that PuLP will stop working with the upcoming Python version 3.8:

venv/lib/python3.7/site-packages/pulp/pulp.py:1672: DeprecationWarning: time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or time.process_time instead
    self.solutionTime += clock()
@tirkarthi
Copy link

time.clock is now removed in 3.8 : python/cpython#13270

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants