Skip to content

Release prep - #508

Merged
pombredanne merged 62 commits into
developfrom
release-prep
May 10, 2022
Merged

Release prep#508
pombredanne merged 62 commits into
developfrom
release-prep

Conversation

@pombredanne

Copy link
Copy Markdown
Member

This is a PR to prepare a minor release

No Author and others added 30 commits February 28, 2003 18:13
git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@1 3d4018f9-ac1a-0410-99e9-8a154d859a19
Add support for gems and improve RPM support
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
* Do not use explicit references to Python version and project name in
  descriptions
* Use Python 3.8 as a base
* Use only plain ASCII

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
The indentations were not correct

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Modifies the azure CI for `vs2017-win2016` to `windows-2022` as 
the former will be deprecated very soon.
Signed-off-by: Jono Yang <jyang@nexb.com>
Deprecate windows-2016 images for azure CI
Remove macos 10.14 job from azure-pipelines.yml
    * Python 3.6 is not available on Windows 2022 images

Signed-off-by: Jono Yang <jyang@nexb.com>
Do not use Python 3.6 on Windows 2022 jobs
* Modifies the azure CI for `vs2017-win2016` to `windows-2022` as the former will be deprecated very soon.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
    * Python 3.6 is not available on Windows 2022 images

Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Doing so helps with keeping them in sync

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
There is now a single primary script "fetch_thirdparty.py" that handles
everything in a simplified way. There is no utility to build wheels
anymore: these MUST be available before hand on PyPI or built
manually and uploaded in our self-hosted PyPI repository.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Add usage instructions to README.rst
pombredanne and others added 25 commits March 11, 2022 07:52
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Twine and PyPI prefer having it.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This new configuration means that all the Python versions are tested
in a single CI job. This allows doing fewer checkouts and improves
CI throughput overall.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Adds changes to conf.py and html template theme_overrides.css
created by @johnmhoran

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Adds a --docs option to the configure script to also install requirements
for the documentation builds.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Adds documentation page on contributing to the docs, and
also modifies directory structure to avoid having the
skeleton directory in docs merged in projects.

Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Add documentation contribute page
Signed-off-by: Jono Yang <jyang@nexb.com>
Properly check for existance of thirdparty dir
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
    * The variable `environment` is not used when fetching sdists

Signed-off-by: Jono Yang <jyang@nexb.com>
Ensure that site-package dir exists.
Other minor adjustments from a scancode-toolkit release

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
These were buggy in some corner cases.
They have been updated such that:
* --latest-version works.
* we can reliable fetch combinations of wheels and sdists for multiple
  OS combos at once
* we now support macOS universal wheels (for ARM CPUs)

Caching is now simpler: we have essentially a single file-based cache
under .cache. PyPI indexes are fetched and not cached, unless the new
--use-cached-index is used which can be useful when fetching many
thirdparty in a short timeframe.

The first PyPI repository in a list has precendence and we never fetch
from other repositories if we find wheels and sdsists there. This avoid
pounding too much on the self-hosted repo.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This is much faster

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
They are a source of artificial problems

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Also streamline test dependencies, remove mock for unittest.mock

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne
pombredanne requested a review from chinyeungli May 10, 2022 13:55
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne
pombredanne merged commit ea51a00 into develop May 10, 2022
@pombredanne
pombredanne deleted the release-prep branch May 10, 2022 14:07
Comment thread etc/scripts/bootstrap.py
evts = itertools.product(python_versions, operating_systems)
environments = [Environment.from_pyver_and_os(pyv, os) for pyv, os in evts]

# collect all packages to process from requirements files

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

  • [ ]

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.

6 participants