This repository was archived by the owner on Jul 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ def dash_version_is_at_least(req_version="1.12"):
1717 the argument "req_version".
1818 This is a private method, and should not be exposed to users.
1919 """
20- if isinstance (dash_version , version .LegacyVersion ):
21- return False
2220 return dash_version >= version .parse (req_version )
2321
2422
Original file line number Diff line number Diff line change 2727 install_requires = ["dash>=1.1.0" , "packaging>= 21.0" ],
2828 extras_require = {
2929 "dev" : [
30- "pyyaml~=5.3.1 " , # building with dash-generate-components
30+ "pyyaml~=6.0 " , # building with dash-generate-components
3131 # Packages needed to run the tests.
3232 "black" , # code formatting
3333 "pytest" , # running tests
4242 # Needs: import chromedriver_binary to the top of your test script.
4343 "chromedriver-binary" ,
4444 "Werkzeug~=2.0.3" ,
45+ "packaging>22"
4546 ]
4647 },
4748 classifiers = [
Original file line number Diff line number Diff line change 11import uuid
2+ import sys
23
34import dash_uploader as du
45import dash
1213
1314app = dash .Dash (__name__ )
1415
15- UPLOAD_FOLDER_ROOT = r"C:\tmp\Uploads"
16+ UPLOAD_FOLDER_ROOT = r"C:\tmp\Uploads" if sys . platform . startswith ( "win" ) else "/tmp/Uploads"
1617du .configure_upload (app , UPLOAD_FOLDER_ROOT )
1718
1819
You can’t perform that action at this time.
0 commit comments