package_control
package_control copied to clipboard
Satisfy dependencies on package update
Currently, the only way to update package dependencies seems to be manually running “Package Control: Satisfy Dependencies”. Instead, dependencies should be updated whenever a package using them is updated.
I noticed that package dependencies are usually satisfied automatically. So as an alternative, the update could be performed whenever Package Control checks if dependencies are satisfied.
Hmm, so I just tested a manually-triggered upgrade of a package after manually setting the version numbers down on the main package and one of its dependencies. This is what I saw:
ignored packages updated to: ["Golang Build", "Vintage"]
unloading plugin Golang Build.golang_build
generating syntax summary
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: The dependency 'golangconfig' is installed, but out of date; upgrading to latest release 0.9.0 from 0.8.0...
Package Control: The dependency 'golangconfig' has successfully been installed or updated
ignored packages updated to: ["Vintage"]
reloading plugin Golang Build.golang_build
generating syntax summary
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
So at least in some situations it seems that a dependency will be upgraded if a newer version is available and a newer version of a package using it is installed.
If anyone has any steps to reproduce a dependency not being upgraded, I'd love to get this resolved.
Were any of your dependencies installed via git or hg? If so, there was a bug where a dependency installed via VCS would not go through the normal upgrade process.
That's what might have happened, I'm sure I copied my local repository over to the Packages folder to test the dependency before publishing it. Not sure if it can ever be verified, but I'll take a look when I get home after work.
I installed python-jinja2 and markupsafe manually, but every time i open sublime text it tells me: Package Control
Unable to download markupsafe. Please view the console for more details.
Package Control
Unable to download python-jinja2. Please view the console for more details.
i don't want to see these popups anymore what should i do!
How did you install the dependencies? PC does something special to mark folders in the Packages folder as dependencies and you probably didn't do that.
i am using Debian, and i tried to install boxy themes but it says can't download python-jinja2 and it didn't work correctly, so i download it manually and do the same things for markupsafe and paste it packages directory, now every things is fine but every time i am connected to internet and sublime is open it says: can't download python-jinja2 and markupsafe, it is annoying me! what should i do, i have them but it say's can't download them, please help!
Hi @danielsayidi! do you found any solution for this issue? the same thing is happening to me.
@oversio your issue is #1430.
Another datapoint https://github.com/sublimelsp/LSP/issues/1186