Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] fastapi_auth_jwt: update version to 17.0 #481

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

kobros-tech
Copy link

@lmignon
The module is merged without updating its version in the manifest file, it was uninstallable.

The dependent modules were not installed due to this issue.

@kobros-tech kobros-tech force-pushed the 17.0-fix-fastapi_auth_jwt-1 branch 2 times, most recently from 74e9848 to 919ecaf Compare December 16, 2024 23:29
@lmignon
Copy link
Contributor

lmignon commented Dec 17, 2024

@lmignon The module is merged without updating its version in the manifest file, it was uninstallable.

The dependent modules were not installed due to this issue.

it's because it's not migrated and the branch 17.0 has been created from the 16.0 one. (not from an empty branch). If you need to use this addon, you need to migrate it.

@kobros-tech
Copy link
Author

@lmignon The module is merged without updating its version in the manifest file, it was uninstallable.
The dependent modules were not installed due to this issue.

it's because it's not migrated and the branch 17.0 has been created from the 16.0 one. (not from an empty branch). If you need to use this addon, you need to migrate it.

no problem, can we merge it so that this issues will vanish...

@lmignon
Copy link
Contributor

lmignon commented Dec 17, 2024

@lmignon The module is merged without updating its version in the manifest file, it was uninstallable.
The dependent modules were not installed due to this issue.

it's because it's not migrated and the branch 17.0 has been created from the 16.0 one. (not from an empty branch). If you need to use this addon, you need to migrate it.

no problem, can we merge it so that this issues will vanish...

Tests and runboat are 🔴 Therefore it can't be merged.

@kobros-tech
Copy link
Author

@lmignon The module is merged without updating its version in the manifest file, it was uninstallable.
The dependent modules were not installed due to this issue.

it's because it's not migrated and the branch 17.0 has been created from the 16.0 one. (not from an empty branch). If you need to use this addon, you need to migrate it.

no problem, can we merge it so that this issues will vanish...

Tests and runboat are 🔴 Therefore it can't be merged.

wonderful, could you guide me on how to make it 🟢 so that everybody in the community can benefit, and I in person am learning from you 🤍

@kobros-tech
Copy link
Author

@pedrobaeza

could you guide me on how to fix this error in tests if I have to or should I add this fix to version 16.0 instead?

Downloading contextvars-2.4.tar.gz (9.6 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting fastapi>=0.110.0 (from -r test-requirements.txt (line 4))
Downloading fastapi-0.115.6-py3-none-any.whl.metadata (27 kB)
Collecting graphene (from -r test-requirements.txt (line 5))
Downloading graphene-3.4.3-py2.py3-none-any.whl.metadata (6.9 kB)
Collecting graphql_server (from -r test-requirements.txt (line 6))
Downloading graphql-server-3.0.0b7.tar.gz (48 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
ERROR: Could not find a version that satisfies the requirement odoo-addon-auth_jwt<17.1dev,>=17.0dev (from versions: 16.0.1.0.0.3, 16.0.1.1.0, 16.0.1.1.0.2, 16.0.1.1.0.3, 16.0.1.1.0.6, 16.0.1.1.0.7)
ERROR: No matching distribution found for odoo-addon-auth_jwt<17.1dev,>=17.0dev
Error: Process completed with exit code 1.

@pedrobaeza pedrobaeza added this to the 17.0 milestone Dec 17, 2024
@pedrobaeza
Copy link
Member

Sorry, I can't help with that, as I don't use pip deployment and don't know the internals. This repository is also not following the usual OCA workflow.

@kobros-tech
Copy link
Author

Sorry, I can't help with that, as I don't use pip deployment and don't know the internals. This repository is also not following the usual OCA workflow.

Thanks Pedro very much for your help, it's ok we can use the PR, I just wanted to make everything clean if possible.

ChatGPT have just told me that I need to update package index, which I don't know about 😅

@rousseldenis
Copy link

@kobros-tech Thanks for this.

In order to get this merged:

@rousseldenis
Copy link

@kobros-tech Moreover, before creating a migration PR, you should have checked if another does not exist.

The normal cycle requires you to review this one first: #452

@kobros-tech
Copy link
Author

kobros-tech commented Dec 17, 2024 via email

@SirAionTech
Copy link

not at all it is already there in branch 17.0
I made a fix not merge

The version is 16.0... because it has not been migrated, just moved to branch 17.0: that's why a migration PR/commit is needed.

@rousseldenis
Copy link

@kobros-tech Indeed, as @SirAionTech said, the flow is different on this repository.

Main branches are created on preceding version main branch. So, the migration PR should contain just the migration commit (and maybe the pre-commit stuff).

@kobros-tech
Copy link
Author

@SirAionTech
@rousseldenis
@lmignon
@pedrobaeza

Thanks all for clarification, I didn't observe that as this repository is different in workflow from others.

I can not add MIG PR, there is one already and I trust it as what I upgraded is similar to what it contains.

I encourage to merge that PR and then compare my PR to the module after merging.

Because I migrated and fixed, not just migrated.

I can provide screenshots if requested.

@kobros-tech kobros-tech force-pushed the 17.0-fix-fastapi_auth_jwt-1 branch from 919ecaf to 1e9cf0c Compare December 18, 2024 15:16
@kobros-tech kobros-tech changed the title [17.0][FIX] fastapi_auth_jwt: update version to 17.0 [17.0][MIG] fastapi_auth_jwt: update version to 17.0 Dec 18, 2024
@kobros-tech
Copy link
Author

Thanks to the origin mig PR #452 I could add my fix, so this current PR is a combination of both migration and fix.

@kobros-tech kobros-tech force-pushed the 17.0-fix-fastapi_auth_jwt-1 branch 3 times, most recently from 61fe5da to 494aea5 Compare December 18, 2024 15:53
@kobros-tech kobros-tech force-pushed the 17.0-fix-fastapi_auth_jwt-1 branch from 494aea5 to 194eef1 Compare December 18, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants