playframework / play1

Play framework
https://www.playframework.com/documentation/1.4.x/home
Other
1.58k stars 682 forks source link

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

Closed osmanirosado closed 7 months ago

osmanirosado commented 7 months ago

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 commented 7 months ago

merge in master, thanks @osmanirosado