Skip to content

add sdist command and umask reminder - #7801

Merged
sklam merged 2 commits into
numba:mainfrom
esc:umask_reminder
Feb 11, 2022
Merged

sklam merged 2 commits into
numba:mainfrom
esc:umask_reminder

Conversation

@esc

@esc esc commented Jan 28, 2022

Copy link
Copy Markdown
Member

As title

@esc esc mentioned this pull request Jan 28, 2022
2 tasks done
@stuartarchibald stuartarchibald added this to the Numba 0.56 RC milestone Jan 31, 2022
@stuartarchibald stuartarchibald added the Effort - short Short size effort needed label Jan 31, 2022
* [ ] Build and upload conda packages on buildfarm (check "upload").
* [ ] Build wheels (`$PYTHON_VERSIONS`) on the buildfarm.
* [ ] Verify packages uploaded to Anaconda Cloud and move to `numba/label/main`.
* [ ] Build sdist locally using `python setup.py sdist --user=ci --group=numba` with umask `0022`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the umask used get confirmed by @seibert ? xref: #7800 (comment)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this umask is correct

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for confirming.

@stuartarchibald

Copy link
Copy Markdown
Contributor

Note: I think merge of this could reasonably close #7800.

@stuartarchibald stuartarchibald added 4 - Waiting on author Waiting for author to respond to review and removed 3 - Ready for Review labels Feb 2, 2022

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch. Suggest minor change to match output of python setup.py sdist --help which gives:

  --owner (-u)           Owner name used when creating a tar file [default:
                         current user]

* [ ] Build and upload conda packages on buildfarm (check "upload").
* [ ] Build wheels (`$PYTHON_VERSIONS`) on the buildfarm.
* [ ] Verify packages uploaded to Anaconda Cloud and move to `numba/label/main`.
* [ ] Build sdist locally using `python setup.py sdist --user=ci --group=numba` with umask `0022`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* [ ] Build sdist locally using `python setup.py sdist --user=ci --group=numba` with umask `0022`.
* [ ] Build sdist locally using `python setup.py sdist -u=ci --group=numba` with umask `0022`.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we then also use -g for coherence?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am happy with either, though think that -g does make it more consistent. The most important thing is to fix the --user part as it seems like that doesn't exist!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, what about using --owner which is the long-form of -u ? That would make it somewhat more obvious what the options do?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--owner sounds good RE obviousness!

* [ ] Verify packages uploaded to Anaconda Cloud and move to
`numba/label/main`.
* [ ] Build wheels (`$PYTHON_VERSIONS`) on the buildfarm.
* [ ] Build sdist locally using `python setup.py sdist --user=ci --group=numba` with umask `0022`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* [ ] Build sdist locally using `python setup.py sdist --user=ci --group=numba` with umask `0022`.
* [ ] Build sdist locally using `python setup.py sdist -u=ci --group=numba` with umask `0022`.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we then also use -g for coherence?

@esc

esc commented Feb 8, 2022

Copy link
Copy Markdown
Member Author

I have modified the patch to include --owner where appropriate.

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch and fixes.

@stuartarchibald stuartarchibald added 5 - Ready to merge Review and testing done, is ready to merge and removed 4 - Waiting on author Waiting for author to respond to review labels Feb 9, 2022
@sklam
sklam merged commit f5e0e83 into numba:main Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to merge Review and testing done, is ready to merge Effort - short Short size effort needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants