Skip to content

New release 1.5 broke some downstream code #144

@tomMoral

Description

@tomMoral

Hello,

Thanks for this nice optimization package. We are developing a framework for automatic benchmarking of optimization libraries called benchopt where we included modopt for the lasso (with the help of @zaccharieramzi ). I just wanted to report here that the latest release 1.5 broke our down stream code for two reasons:

  • The API changed without deprecation warning cycle. When 1.5 was released, data changed in a lot of places to input_data. software development best practices would have been to support both data and input_data for at least one release, with deprecation warning to make sure downstream code can be updated without breaking it. It is not a very big deal but at least mentionning the change in the what's new would be nice.

  • We also realized that the requirements impose pinned version of the dependencies like numpy. This tends to break compat with many other packages installed in a distribution and should be avoided if possible. At least using something like 1.19 would already help a lot instead of even pinning the release number. It would be nice to remove the pinned version from the requirement file.

I think fixing this and making sure to keep a stable API would make the package more robust for users. hope this can help for future development! :)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions