Commit graph

99 commits

Author SHA1 Message Date
Joshua Lock
76c0a54e75 Prepare v0.17.0 release
Signed-off-by: Joshua Lock <jlock@vmware.com>
2021-02-25 10:49:12 +00:00
Lukas Puehringer
a78da1558a Update setup.py to drop support for Python 3.5
Python 3.5 has now reached its end-of-life and has been retired.
https://www.python.org/dev/peps/pep-0478/

The optional (but highly recommended) 'cryptography' dependency
has also just dropped support for 3.5. Continuing support for 3.5
in TUF does not seem worth the effort.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-12-10 18:14:55 +01:00
Joshua Lock
7ff26717a1 Prepare 0.16.0 release
Update docs/CHANGELOG.md and bump version number for a 0.16.0 release

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-11-26 13:15:14 +00:00
lukpueh
11e2f4ca48
Merge pull request #1191 from lukpueh/adopt-sslib-interface-changes
Adopt sslib keygen interface encryption changes
2020-11-11 11:31:35 +01:00
Lukas Puehringer
dc20fdbffd Update securesystemslib dependency to 0.18.0
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-11-11 10:28:05 +01:00
Martin Vrachev
d055c4216d Add support for python 3.9
Python 3.9 is released on October 5-th 2020 and it seems
logical to add support for it.

For reference read:
https://docs.python.org/3/whatsnew/3.9.html

Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
2020-11-05 19:47:13 +02:00
Joshua Lock
8169b00745 Prepare 0.15.0 release
Update docs/CHANGELOG.md and bump version number for a 0.15.0 release

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-10-21 11:42:21 +01:00
Jussi Kukkonen
2f69986e2b Remove iso8601 dependency
Our 'expires' strings are constrained by the ISO8601_DATETIME_SCHEMA
which matches regex '\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z'. This can be
parsed with just a datetime.strptime(): iso8601 module is not needed.

* Add formats.expiry_string_to_datetime() helper function
* Modify the 3 locations that used iso8601 and the api/metadata.py usage
  of datetime.strptime()
* Remove related unnecessary logger setup
* Add the missing exception documentation to relevant functions (in many
  cases the exception is rather unlikely as the schema has been verified
  many times before this though...)

Fixes #1065

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
2020-10-13 20:06:14 +03:00
Joshua Lock
3e68b3a07e Prepare 0.14.0 release
Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-09-09 11:11:48 +01:00
Martin Vrachev
7a828ea716 Bump securesyslib to 0.16.0 in setup.py
Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
2020-08-18 17:42:30 +03:00
Joshua Lock
eb1c8d0845 setup.py: add project_urls links
These additional URLs will be displayed on PyPI:
https://packaging.python.org/guides/distributing-packages-using-setuptools/#project-urls

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-08-04 11:47:47 +01:00
Joshua Lock
ea958bc568 Prepare 0.13.0 release
Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-08-04 09:31:16 +01:00
Jussi Kukkonen
5a8f93529b Update comments about optional crypto dependencies
tools-extra does not exist in tuf anymore: mention the securesystemslib
extras instead.

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
2020-06-17 17:33:58 +03:00
Joshua Lock
be3c541a8a Update securesystemslib dependency
We need the recently released securesystemslib 0.15.0 or newer for
abstract storage support.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-05-19 22:36:17 +01:00
Lukas Puehringer
842f843210 Remove duplicate testing simple_server.py
tests/simple_server.py was copied to tuf/scripts/ to "make testing
easier" (cf84d3f51f), although with
the current test setup the original (and recently patched to fix an
Windows/Py2 test issue) test simple_server.py can be used just as
well.

This commit:
- removes tuf/scripts/simple_server.py
  Note: that version slightly differed from the original test
  server, probably due to demands by the linter that is only executed
  on the tuf core code and not on the tests. However, for the testing
  purposes of simple_server.py these changes (i.e., `SystemRandom()`,
  `if __name__ =='__main__':`) are not necessary.
- updates the tests that used tuf.scripts.simple_server to instead
  use tests.simple_server,
- updates setup.py to not install the simple_server module as
  script, when installing tuf, as it is only a testing script and
  not meant for end-user usage.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-02-25 14:55:36 +01:00
Santiago Torres
bea6496dc2
release: 0.12.2
Signed-off-by: Santiago Torres <santiago@archlinux.org>
2020-01-10 15:43:44 -05:00
Lukas Puehringer
dc7bb9661e test: Add mock test dependency for Py <3.3
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
f7a0685190 Update tested and supported Python versions
- Drop 3.4 (due to end-of-life) and add 3.7 and 3.8 to tox, travis
and appveyor configuration for automated testing.
- Adapt classifiers in setup.py accordingly.
- Add python_requires field in setup.py to reflect supported
versions. This will prevent pip from trying to install tuf on
a non-supported version.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-13 09:46:18 +01:00
Lukas Puehringer
054a32ce1a setup.py/__init__.py: bump version to v0.12.1
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-11-14 15:49:15 +01:00
Lukas Puehringer
9a8e3c9ef9 setup.py/__init__.py: bump version to v0.12.0
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-10-14 16:47:16 +02:00
Lukas Puehringer
2342e18e45 Update securesystemslib dependency to 0.12.0
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-10-14 12:26:26 +02:00
Sebastien Awwad
847f20df9e
Update version to 0.11.2.dev3
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-01-10 11:52:42 -05:00
Sebastien Awwad
23cfcbe783
Bump version to 0.11.2.dev2 from 0.11.2.dev1
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-11-05 15:57:05 -05:00
Sebastien Awwad
73f3289942
Bump version to 0.11.2.dev1 for PyPI dev release
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-10-03 11:59:56 -04:00
Sebastien Awwad
24a10b5527
Update dependencies and bump version to 0.11.2-alpha
for an alpha release.

Update dependencies:
bandit, py, pycparser, pynacl, securesystemslib, tox

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-10-02 22:24:14 -04:00
Sebastien Awwad
314f6e71b9
Remove partial single-source version; add comments explaining
Previous commit isn't going to work: read wasn't defined. Code
provided was from here:
https://packaging.python.org/guides/single-sourcing-package-version/

and is a little more complicated than is ideal. It'll also match
comment lines if they exist. Single-sourcing version number isn't
necessary for this pull request, but if I was going to do it, I'd
probably add a VERSION file and have tuf/__init__.py and setup.py
each read that in. There could be problems with that, too. I'm
going to punt on this and keep the version in two places and we
can fix that less urgently. (Also, the user agent reporting a
version seems less critical in any case than the rest of the PR.)

Version info will now be in two locations and require update in
tandem.

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-09-10 16:29:59 -04:00
Trishank K Kuppusamy
34e0ec7c62
Add TUF version number, and user agent
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-09-10 16:29:48 -04:00
Trishank K Kuppusamy
b9bc8602c2
Update TUF to handle HTTPS proxies
Signed-off-by: Trishank K Kuppusamy <trishank.kuppusamy@datadoghq.com>
2018-08-31 13:18:35 -04:00
Vladimir Diaz
9acab4b6bc
Add long_description_content_type to setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-20 17:52:34 -04:00
Vladimir Diaz
4d07ce0287
Bump version number to 0.11.1 in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-19 16:28:20 -04:00
Vladimir Diaz
af8b117ad6
Upgrade SSLib dependency in setup.py (0.11.1 -> 0.11.2)
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-04 14:41:24 -04:00
Vladimir Diaz
8986e9c773
Replace README.rst with README.md in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-17 11:50:11 -04:00
Vladimir Diaz
a9c4cbac76
Update release version in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-30 15:07:13 -04:00
Vladimir Diaz
b1410446c5
Update securesystemslib in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-30 13:37:51 -04:00
Vladimir Diaz
8b40894149
Upgrade dependencies in setup.py and requirement files
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-11 15:18:13 -04:00
Vladimir Diaz
db27b18cd0
Upgrade securesystemslib to 0.10.11 (removes deprecated cryptography methods)
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-29 10:47:44 -04:00
Vladimir Diaz
8f65fa4154
Rename license files in modules
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-05 11:31:19 -05:00
Vladimir Diaz
30179ce8ba
Bump project version number to 0.10.2 in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-31 17:33:42 -05:00
Vladimir Diaz
4fa8292c6f
Bump securesystemslib version to 0.10.10 in setup.py and dev-requirements.txt
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-31 16:11:00 -05:00
Vladimir Diaz
cd2aeb21f9
Fix list of scripts in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-25 16:41:53 -05:00
Vladimir Diaz
d5c82982df
List client.py in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-24 17:32:21 -05:00
Vladimir Diaz
7de990769e
Edit setup.py to list repo.py script
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-24 17:28:15 -05:00
Vladimir Diaz
bc9b4b37de
Upgrade cffi and securesystemslib dependencies
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-22 15:24:00 -05:00
Vladimir Diaz
65a9a7c267
Resolve conflicts
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-11 13:24:19 -05:00
Vladimir Diaz
fb05f65e70
Add copyright and license info to setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-30 13:24:35 -05:00
Vladimir Diaz
664e8227d9
Exclude the now remove tufcli.py from setup.py's scripts
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-16 12:05:35 -05:00
Vladimir Diaz
669afbc0a3
Merge branch 'develop' into release_0.10.1 2017-11-13 12:01:54 -05:00
Vladimir Diaz
a77f50086d
Bump project's version number
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-13 11:00:15 -05:00
Vladimir Diaz
1f46ef9ba0
Add MIT and Apache license classifiers to setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-09 17:46:02 -05:00
Vladimir Diaz
8d6bd4d1e4
Specify minimum versions of dependencies in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-09 11:14:08 -05:00