Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

#1466 The clock function was removed from time module in Python 3.8 #1467

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

osmanirosado
Copy link
Contributor

@osmanirosado osmanirosado commented Feb 23, 2024

One solution to this issue: Python AttributeError: module 'time' has no attribute 'clock'

play install command works after the changes made

#19 [stage-1  9/10] RUN play install deadbolt <<< 'y'
#19 1.347 ~        _            _ 
#19 1.347 ~  _ __ | | __ _ _  _| |
#19 1.347 ~ | '_ \| |/ _' | || |_|
#19 1.347 ~ |  __/|_|\____|\__ (_)
#19 1.347 ~ |_|            |__/   
#19 1.347 ~
#19 1.347 ~ play! 1.7.x-8070e1e3, https://www.playframework.com
#19 1.347 ~
#19 1.347 ~ Will install deadbolt-1.5.4
#19 1.347 ~ This module is compatible with: *
#19 1.347 ~ Do you want to install this version (y/n)? ~ Installing module deadbolt-1.5.4...
#19 2.184 ~
#19 2.184 ~ Fetching https://www.playframework.com/modules/deadbolt-1.5.4.zip
~ [-----------------532-of-532-KiB-(100%)-----------------] 7953.0 KiB/s   
#19 2.184 ~ Unzipping...
#19 2.184 ~
#19 2.184 ~ Module deadbolt-1.5.4 is installed!
#19 2.184 ~ You can now use it by adding it to the dependencies.yml file:
#19 2.184 ~
#19 2.184 ~ require:
#19 2.184 ~     play -> deadbolt 1.5.4
#19 2.184 ~
#19 DONE 2.3s

@xael-fry xael-fry changed the title The clock function was removed from time module in Python 3.8 #1466 The clock function was removed from time module in Python 3.8 Mar 1, 2024
@xael-fry xael-fry added the has-pr label Mar 1, 2024
@xael-fry xael-fry added this to the 1.8.0 milestone Mar 1, 2024
@xael-fry xael-fry merged commit a9ed21f into playframework:master Mar 1, 2024
2 of 5 checks passed
@xael-fry
Copy link
Member

xael-fry commented Mar 1, 2024

merge in master, thanks @osmanirosado

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants