Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 9 additions & 23 deletions docs/release-notes/3.0.z.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,19 @@ pulp-python 3.0 Release Notes
pulp-python 3.0 is currently in Beta. Backwards incompatible changes
might be made until Beta is over.

3.0.0b3
3.0.0b4
=======

* Add support for project specifier whitelisting.
* Adds support for `pulpcore 3.0.0.rc1 <https://docs.pulpproject.org/en/3.0/nightly/release-notes/pulpcore/3.0.x.html#rc1>`_.

Sync now takes in a project specifier of project name, version, and digest.
In the previous implementation a project list would be given on PythonRemote creation,
sync downloaded every package of all the projects in the list::
* Adds excludes support (aka 'blacklist')

projects=['django', 'scipy']
Renames the "projects" field on the remote to "includes".

Adds a new "excludes" field to the remote which behaves like "includes", except that any specified
releasees or digests are not synced, even if an include specifier matches them.

This is still possible in the new implementation like so::

projects=[{"name": "django"}, {"name": "scipy"}]


But it is now also possible to sync only certain versions of projects, and to sync only
packages matching a given hash::

projects=[{"name": "django", "version_specifier":"~=2.0"},
{"name": "scipy",
"digests":[
{"type": "md5",
"digest": "044af71389ac2ad3d3ece24d0baf4c07"},
{"type": "sha256",
"digest": "18b572502ce0b17e3b4bfe50dcaea414a98290358a2fa080c36066ba0651ec14"}]
}
]
Also adds a 'prereleases' field to the remote, which toggles whether prerelease versions should be
synced. This mirrors the 'prereleases' flag that packaging.specifiers.SpecifierSet provides.

* Removes Python 3.5 support
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages

requirements = [
'pulpcore-plugin>=0.1.0b21',
'pulpcore-plugin~=0.1rc1',
'pkginfo',
'packaging',
]
Expand All @@ -13,7 +13,7 @@

setup(
name='pulp-python',
version='3.0.0b3',
version='3.0.0b4',
description='pulp-python plugin for the Pulp Project',
long_description=long_description,
license='GPLv2+',
Expand Down