Skip to content

Commit d580143

Browse files
Merge pull request #2206 from recommenders-team/staging
Staging to main: Fix issue with Cornac version
2 parents 5c862af + 5755463 commit d580143

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

SETUP.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ First make sure that the tag that you want to add, e.g. `0.6.0`, is added in [`r
247247
1. Make sure that the code in main passes all the tests (unit and nightly tests).
248248
1. Create a tag with the version number: e.g. `git tag -a 0.6.0 -m "Recommenders 0.6.0"`.
249249
1. Push the tag to the remote server: `git push origin 0.6.0`.
250-
1. When the new tag is pushed, a release pipeline is executed. This pipeline runs all the tests again (PR gate and nightly builds), generates a wheel and a tar.gz which are uploaded to a [GitHub draft release](https://github.com/microsoft/recommenders/releases).
250+
1. When the new tag is pushed, a release pipeline is executed. This pipeline runs all the tests again (PR gate and nightly builds), generates a wheel and a tar.gz which are uploaded to a [GitHub draft release](https://github.com/microsoft/recommenders/releases). *NOTE: Make sure you add the release tag to the [federeted credendials](tests/README.md).*
251251
1. Fill up the draft release with all the recent changes in the code.
252252
1. Download the wheel and tar.gz locally, these files shouldn't have any bug, since they passed all the tests.
253253
1. Install twine: `pip install twine`

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828

2929
install_requires = [
3030
"category-encoders>=2.6.0,<3", # requires packaging
31-
"cornac>=1.15.2,<3", # requires packaging, tqdm
31+
"cornac>=1.15.2,<=2.2.2;python_version<='3.8'",
32+
"cornac>=2.3.0,<3;python_version>='3.9'", # requires packaging, tqdm
3233
"hyperopt>=0.2.7,<1",
3334
"lightgbm>=4.0.0,<5",
3435
"locust>=2.12.2,<3", # requires jinja2

tests/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,7 @@ Then, follow the steps below to create the AzureML infrastructure:
250250
* AzureML Compute Operator
251251
* AzureML Data Scientist
252252
* Reader
253-
1. [Create a federated identiy credential on the
254-
UMI](https://learn.microsoft.com/en-us/entra/workload-id/workload-identity-federation-create-trust-user-assigned-managed-identity?pivots=identity-wif-mi-methods-azp#github-actions-deploying-azure-resources)
253+
1. [Create a federated identity credential on the UMI](https://learn.microsoft.com/en-us/entra/workload-id/workload-identity-federation-create-trust-user-assigned-managed-identity?pivots=identity-wif-mi-methods-azp#github-actions-deploying-azure-resources)
255254
with the following settings:
256255
* Name: A unique name for the federated identity credential
257256
within your application.
@@ -262,6 +261,7 @@ Then, follow the steps below to create the AzureML infrastructure:
262261
+ `repo:recommenders-team/recommenders:pull_request`
263262
+ `repo:recommenders-team/recommenders:ref:refs/heads/staging`
264263
+ `repo:recommenders-team/recommenders:ref:refs/heads/main`
264+
+ `repo:recommenders-team/recommenders:ref:refs/tags/1.2.1`
265265
* Description: (Optional) A description of the credential.
266266
* Audiences: Specifies who can use this credential; for GitHub
267267
Actions, use `api://AzureADTokenExchange`.

0 commit comments

Comments
 (0)