Skip to content

Suggest to loosen the dependency on aiogram #2

Description

@Agnes-U

Hi, your project BeerBrotherBot(commit id: 1345572) requires "aiogram==2.14.3" in its dependency. After analyzing the source code, we found that the following versions of aiogram can also be suitable, i.e., aiogram 2.14, 2.14.1, 2.14.2, since all functions that you directly (5 APIs: aiogram.types.reply_keyboard.ReplyKeyboardMarkup.add, aiogram.types.reply_keyboard.ReplyKeyboardMarkup.init, aiogram.types.inline_keyboard.InlineKeyboardMarkup.init, aiogram.types.inline_keyboard.InlineKeyboardMarkup.row, aiogram.types.inline_keyboard.InlineKeyboardButton.init) or indirectly (propagate to -1 aiogram's internal APIs and 0 outsider APIs) used from the package have not been changed in these versions, thus not affecting your usage.

Therefore, we believe that it is quite safe to loose your dependency on aiogram from "aiogram==2.14.3" to "aiogram>=2.14,<=2.14.3". This will improve the applicability of BeerBrotherBot and reduce the possibility of any further dependency conflict with other projects.

May I pull a request to further loosen the dependency on aiogram?

By the way, could you please tell us whether such an automatic tool for dependency analysis may be potentially helpful for maintaining dependencies easier during your development?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions