-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Just want to report a minor problem that I noticed.
The req.txt for test only contains one package "plotly".
This happens when argument "--versioned-filename" is specified.
We use this a lot because it tells the spk version.
D:\tmp>"C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\python.exe" -VV
Python 3.13.7 (tags/v3.13.7:bcee1c3, Aug 14 2025, 14:15:11) [MSC v.1944 64 bit (AMD64)]
D:\tmp>"C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\python.exe" -m pip list -v
Package Version Location Installer
--------------- ----------- --------------------------------------------------------------------------------------------------------------- ---------
numpy 2.3.2 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
packaging 25.0 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
pandas 2.3.2 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
pip 25.2 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
python-dateutil 2.9.0.post0 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
pytz 2025.2 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
setuptools 80.9.0 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
six 1.17.0 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
spotfire 2.4.0 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\spotfire-packages pip
tzdata 2025.2 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
wheel 0.45.1 C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\Lib\site-packages pip
D:\tmp>"C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\python.exe" -m spotfire.spk packages --analyst --versioned-filename mypkg.spk req.txt
Installing pip packages from req.txt to temporary location.
Collecting plotly (from -r req.txt (line 1))
Using cached plotly-6.5.0-py3-none-any.whl.metadata (8.5 kB)
Collecting narwhals>=1.15.1 (from plotly->-r req.txt (line 1))
Using cached narwhals-2.14.0-py3-none-any.whl.metadata (13 kB)
Collecting packaging (from plotly->-r req.txt (line 1))
Using cached packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
Using cached plotly-6.5.0-py3-none-any.whl (9.9 MB)
Using cached narwhals-2.14.0-py3-none-any.whl (430 kB)
Using cached packaging-25.0-py3-none-any.whl (66 kB)
Installing collected packages: packaging, narwhals, plotly
Successfully installed narwhals-2.14.0 packaging-25.0 plotly-6.5.0
Deleted files listed in RECORD for packaging-25.0.dist-info
Completed removing files and directories for packages on the deny list.
Scanning package files from temporary location.
C:\Users\admin\AppData\Local\Spotfire\14.6.0\Modules\Python Interpreter_3.1307.20400.127\python\spotfire-packages\spotfire\spk.py:1023: DeprecationWarning: 'count' is passed as positional argument
package_builder.output = re.sub(r"(\.spk)?$", fr"-{str(package_builder.version)}\1",
Building Spotfire SPK package mypkg-1.0.0.0.spk.
Done.
Metadata
Metadata
Assignees
Labels
No labels